colorhexa.com

#400ca8 hex color

In a RGB color space, hex #400ca8 is composed of 25.1% red, 4.7% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 61.9% cyan, 92.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 260 degrees, a saturation of 86.7% and a lightness of 35.3%. #400ca8 color hex could be obtained by blending #8018ff with #000051. Closest websafe color is: #330099.

    • R 25
    • G 5
    • B 66

    RGB color chart

    • C 62
    • M 93
    • Y 0
    • K 34

    CMYK color chart

#400ca8 color description : Dark violet.

The hexadecimal color #400ca8 has RGB values of R:64, G:12, B:168 and CMYK values of C:0.62, M:0.93, Y:0, K:0.34. Its decimal value is 4197544.

Hex triplet 400ca8 #400ca8
RGB Decimal 64, 12, 168 rgb(64,12,168)
RGB Percent 25.1, 4.7, 65.9 rgb(25.1%,4.7%,65.9%)
CMYK 62, 93, 0, 34
HSL 260°, 86.7, 35.3 hsl(260,86.7%,35.3%)
HSV (or HSB) 260°, 92.9, 65.9
Web Safe 330099 #330099
CIE-LAB 24.257, 56.982, -70.607
XYZ 9.312, 4.18, 37.36
xyY 0.183, 0.082, 4.18
CIE-LCH 24.257, 90.732, 308.904
CIE-LUV 24.257, 1.421, -83.247
Hunter-Lab 20.445, 45.528, -94.033
Binary 01000000, 00001100, 10101000

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

Below, you can see some colors close to #400ca8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

Text with hexadecimal color #400ca8

This text has a font color of #400ca8.

<span style="color:#400ca8;">Text here</span>

#400ca8 background color

This paragraph has a background color of #400ca8.

<p style="background-color:#400ca8;">Content here</p>

#400ca8 border color

This element has a border color of #400ca8.

<div style="border:1px solid #400ca8;">Content here</div>

CSS codes

.text {color:#400ca8;}
.background {background-color:#400ca8;}
.border {border:1px solid #400ca8;}

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #010003 is the darkest color, while #f5f0fe is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #59585c is the less saturated color, while #3e05af is the most saturated one.

Tone Color Variation

Below, you can see how #400ca8 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy

  • #2d2d2d Achromatopsia 0.005% of the population
  • #312646 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004280 Protanopia 1% of men
  • #00456e Deuteranopia 1% of men
  • #004a4f Tritanopia 0.001% of the population

Trichromacy

  • #172e8e Protanomaly 1% of men, 0.01% of women
  • #173083 Deuteranomaly 6% of men, 0.4% of women
  • #17336f Tritanomaly 0.01% of the population