#402a8c Color Information
In a RGB color space, hex #402a8c is composed of 25.1% red, 16.5% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 70% magenta, 0% yellow and 45.1% black. It has a hue angle of 253.5 degrees, a saturation of 53.8% and a lightness of 35.7%. #402a8c color hex could be obtained by blending #8054ff with #000019. Closest websafe color is: #333399.
-
- R 25
- G 16
- B 55
-
- C 54
- M 70
- Y 0
- K 45
● #402a8c color description : Dark blue.
#402a8c Color Conversion
The hexadecimal color #402a8c has RGB values of R:64, G:42, B:140 and CMYK values of C:0.54, M:0.7, Y:0, K:0.45. Its decimal value is 4205196.
| Hex triplet | 402a8c | #402a8c |
|---|---|---|
| RGB Decimal | 64, 42, 140 | rgb(64,42,140) |
| RGB Percent | 25.1, 16.5, 54.9 | rgb(25.1%,16.5%,54.9%) |
| CMYK | 54, 70, 0, 45 | |
| HSL | 253.5°, 53.8, 35.7 | hsl(253.5,53.8%,35.7%) |
| HSV (or HSB) | 253.5°, 70, 54.9 | |
| Web Safe | 333399 | #333399 |
| CIE-LAB | 25.681, 36.455, -51.093 |
|---|---|
| XYZ | 7.675, 4.639, 25.301 |
| xyY | 0.204, 0.123, 4.639 |
| CIE-LCH | 25.681, 62.765, 305.508 |
| CIE-LUV | 25.681, 0.868, -65.347 |
| Hunter-Lab | 21.539, 25.913, -54.568 |
| Binary | 01000000, 00101010, 10001100 |
Color Schemes with #402a8c
Alternatives to #402a8c
Below, you can see some colors close to #402a8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#402a8c Preview
This text has a font color of #402a8c.
<span style="color:#402a8c;">Text here</span>
This paragraph has a background color of #402a8c.
<p style="background-color:#402a8c;">Content here</p>
This element has a border color of #402a8c.
<div style="border:1px solid #402a8c;">Content here</div>
.text {color:#402a8c;}
.background {background-color:#402a8c;}
.border {border:1px solid #402a8c;}
Shades and Tints of #402a8c
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, #020104 is the darkest color, while #f6f4fc is the lightest one.
-
#020104
#020104rgb(2,1,4) -
#090613
#090613rgb(9,6,19) -
#100a22
#100a22rgb(16,10,34) -
#170f31
#170f31rgb(23,15,49) -
#1e1341
#1e1341rgb(30,19,65) -
#241850
#241850rgb(36,24,80) -
#2b1c5f
#2b1c5frgb(43,28,95) -
#32216e
#32216ergb(50,33,110) -
#39257d
#39257drgb(57,37,125) -
#402a8c
#402a8crgb(64,42,140) -
#472f9b
#472f9brgb(71,47,155) -
#4e33aa
#4e33aargb(78,51,170) -
#5538b9
#5538b9rgb(85,56,185)
-
#5d3fc5
#5d3fc5rgb(93,63,197) -
#6a4eca
#6a4ecargb(106,78,202) -
#775dce
#775dcergb(119,93,206) -
#836cd3
#836cd3rgb(131,108,211) -
#907bd8
#907bd8rgb(144,123,216) -
#9d8adc
#9d8adcrgb(157,138,220) -
#aa9ae1
#aa9ae1rgb(170,154,225) -
#b6a9e5
#b6a9e5rgb(182,169,229) -
#c3b8ea
#c3b8eargb(195,184,234) -
#d0c7ee
#d0c7eergb(208,199,238) -
#dcd6f3
#dcd6f3rgb(220,214,243) -
#e9e5f7
#e9e5f7rgb(233,229,247) -
#f6f4fc
#f6f4fcrgb(246,244,252)
Tones of #402a8c
A tone is produced by adding gray to any pure hue. In this case, #5b5b5b is the less saturated color, while #2d07af is the most saturated one.
-
#5b5b5b
#5b5b5brgb(91,91,91) -
#575462
#575462rgb(87,84,98) -
#534d69
#534d69rgb(83,77,105) -
#4f4670
#4f4670rgb(79,70,112) -
#4c3f77
#4c3f77rgb(76,63,119) -
#48387e
#48387ergb(72,56,126) -
#443185
#443185rgb(68,49,133) -
#402a8c
#402a8crgb(64,42,140) -
#3c2393
#3c2393rgb(60,35,147) -
#381c9a
#381c9argb(56,28,154) -
#3415a1
#3415a1rgb(52,21,161) -
#310ea8
#310ea8rgb(49,14,168) -
#2d07af
#2d07afrgb(45,7,175)
Color Blindness Simulator
Below, you can see how #402a8c 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.
