#040242 Color Information
In a RGB color space, hex #040242 is composed of 1.6% red, 0.8% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 97% magenta, 0% yellow and 74.1% black. It has a hue angle of 241.9 degrees, a saturation of 94.1% and a lightness of 13.3%. #040242 color hex could be obtained by blending #080484 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 1
- B 26
-
- C 94
- M 97
- Y 0
- K 74
● #040242 color description : Very dark blue.
#040242 Color Conversion
The hexadecimal color #040242 has RGB values of R:4, G:2, B:66 and CMYK values of C:0.94, M:0.97, Y:0, K:0.74. Its decimal value is 262722.
Hex triplet | 040242 | #040242 |
---|---|---|
RGB Decimal | 4, 2, 66 | rgb(4,2,66) |
RGB Percent | 1.6, 0.8, 25.9 | rgb(1.6%,0.8%,25.9%) |
CMYK | 94, 97, 0, 74 | |
HSL | 241.9°, 94.1, 13.3 | hsl(241.9,94.1%,13.3%) |
HSV (or HSB) | 241.9°, 97, 25.9 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.178, 24.559, -37.716 |
---|---|
XYZ | 1.055, 0.463, 5.188 |
xyY | 0.157, 0.069, 0.463 |
CIE-LCH | 4.178, 45.007, 303.071 |
CIE-LUV | 4.178, -1.015, -15.838 |
Hunter-Lab | 6.801, 15.788, -40.466 |
Binary | 00000100, 00000010, 01000010 |
Color Schemes with #040242
Alternatives to #040242
Below, you can see some colors close to #040242. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040242 Preview
This text has a font color of #040242.
<span style="color:#040242;">Text here</span>
This paragraph has a background color of #040242.
<p style="background-color:#040242;">Content here</p>
This element has a border color of #040242.
<div style="border:1px solid #040242;">Content here</div>
.text {color:#040242;}
.background {background-color:#040242;}
.border {border:1px solid #040242;}
Shades and Tints of #040242
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, #010009 is the darkest color, while #f5f5ff is the lightest one.
-
#010009
#010009
rgb(1,0,9)
-
#02011c
#02011c
rgb(2,1,28)
-
#03012f
#03012f
rgb(3,1,47)
-
#040242
#040242
rgb(4,2,66)
-
#050355
#050355
rgb(5,3,85)
-
#060368
#060368
rgb(6,3,104)
-
#07047b
#07047b
rgb(7,4,123)
-
#09048e
#09048e
rgb(9,4,142)
-
#0a05a1
#0a05a1
rgb(10,5,161)
-
#0b05b4
#0b05b4
rgb(11,5,180)
-
#0c06c7
#0c06c7
rgb(12,6,199)
-
#0d07da
#0d07da
rgb(13,7,218)
-
#0e07ed
#0e07ed
rgb(14,7,237)
-
#1810f8
#1810f8
rgb(24,16,248)
-
#2a23f8
#2a23f8
rgb(42,35,248)
-
#3d36f9
#3d36f9
rgb(61,54,249)
-
#4f4afa
#4f4afa
rgb(79,74,250)
-
#615dfa
#615dfa
rgb(97,93,250)
-
#7470fb
#7470fb
rgb(116,112,251)
-
#8683fb
#8683fb
rgb(134,131,251)
-
#9996fc
#9996fc
rgb(153,150,252)
-
#aba9fc
#aba9fc
rgb(171,169,252)
-
#bebcfd
#bebcfd
rgb(190,188,253)
-
#d0cffe
#d0cffe
rgb(208,207,254)
-
#e3e2fe
#e3e2fe
rgb(227,226,254)
-
#f5f5ff
#f5f5ff
rgb(245,245,255)
Tones of #040242
A tone is produced by adding gray to any pure hue. In this case, #212123 is the less saturated color, while #040242 is the most saturated one.
-
#212123
#212123
rgb(33,33,35)
-
#1f1f25
#1f1f25
rgb(31,31,37)
-
#1d1c28
#1d1c28
rgb(29,28,40)
-
#1a1a2a
#1a1a2a
rgb(26,26,42)
-
#18172d
#18172d
rgb(24,23,45)
-
#151430
#151430
rgb(21,20,48)
-
#131232
#131232
rgb(19,18,50)
-
#100f35
#100f35
rgb(16,15,53)
-
#0e0c38
#0e0c38
rgb(14,12,56)
-
#0b0a3a
#0b0a3a
rgb(11,10,58)
-
#09073d
#09073d
rgb(9,7,61)
-
#06053f
#06053f
rgb(6,5,63)
-
#040242
#040242
rgb(4,2,66)
Color Blindness Simulator
Below, you can see how #040242 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.