#042e87 hex color
In a RGB color space, hex #042e87 is composed of 1.6% red, 18% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 97% cyan, 65.9% magenta, 0% yellow and 47.1% black. It has a hue angle of 220.8 degrees, a saturation of 94.2% and a lightness of 27.3%. #042e87 color hex could be obtained by blending #085cff with #00000f. Closest websafe color is: #003399.
-
- R 2
- G 18
- B 53
RGB color chart
-
- C 97
- M 66
- Y 0
- K 47
CMYK color chart
● #042e87 color description : Dark blue.
The hexadecimal color #042e87 has RGB values of R:4, G:46, B:135 and CMYK values of C:0.97, M:0.66, Y:0, K:0.47. Its decimal value is 274055.
Hex triplet | 042e87 | #042e87 |
---|---|---|
RGB Decimal | 4, 46, 135 | rgb(4,46,135) |
RGB Percent | 1.6, 18, 52.9 | rgb(1.6%,18%,52.9%) |
CMYK | 97, 66, 0, 47 | |
HSL | 220.8°, 94.2, 27.3 | hsl(220.8,94.2%,27.3%) |
HSV (or HSB) | 220.8°, 97, 52.9 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 22.753, 25.168, -52.906 |
---|---|
XYZ | 5.399, 3.729, 23.355 |
xyY | 0.166, 0.115, 3.729 |
CIE-LCH | 22.753, 58.587, 295.441 |
CIE-LUV | 22.753, -9.9, -62.986 |
Hunter-Lab | 19.31, 16.12, -58.196 |
Binary | 00000100, 00101110, 10000111 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #042e87. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #042e87
This text has a font color of #042e87.
<span style="color:#042e87;">Text here</span>
#042e87 background color
This paragraph has a background color of #042e87.
<p style="background-color:#042e87;">Content here</p>
#042e87 border color
This element has a border color of #042e87.
<div style="border:1px solid #042e87;">Content here</div>
CSS codes
.text {color:#042e87;}
.background {background-color:#042e87;}
.border {border:1px solid #042e87;}
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, #000102 is the darkest color, while #eef3fe is the lightest one.
-
#000102
#000102
rgb(0,1,2)
-
#010715
#010715
rgb(1,7,21)
-
#010e28
#010e28
rgb(1,14,40)
-
#02143b
#02143b
rgb(2,20,59)
-
#021b4e
#021b4e
rgb(2,27,78)
-
#032161
#032161
rgb(3,33,97)
-
#032874
#032874
rgb(3,40,116)
-
#042e87
#042e87
rgb(4,46,135)
-
#05349a
#05349a
rgb(5,52,154)
-
#053bad
#053bad
rgb(5,59,173)
-
#0641c0
#0641c0
rgb(6,65,192)
-
#0648d3
#0648d3
rgb(6,72,211)
-
#074ee6
#074ee6
rgb(7,78,230)
Shade Color Variation
-
#0956f8
#0956f8
rgb(9,86,248)
-
#1c63f8
#1c63f8
rgb(28,99,248)
-
#2f70f9
#2f70f9
rgb(47,112,249)
-
#427df9
#427df9
rgb(66,125,249)
-
#558afa
#558afa
rgb(85,138,250)
-
#6897fb
#6897fb
rgb(104,151,251)
-
#7ba4fb
#7ba4fb
rgb(123,164,251)
-
#8eb1fc
#8eb1fc
rgb(142,177,252)
-
#a1bffc
#a1bffc
rgb(161,191,252)
-
#b4ccfd
#b4ccfd
rgb(180,204,253)
-
#c7d9fd
#c7d9fd
rgb(199,217,253)
-
#dbe6fe
#dbe6fe
rgb(219,230,254)
-
#eef3fe
#eef3fe
rgb(238,243,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #444547 is the less saturated color, while #042e87 is the most saturated one.
-
#444547
#444547
rgb(68,69,71)
-
#3f434c
#3f434c
rgb(63,67,76)
-
#394152
#394152
rgb(57,65,82)
-
#343f57
#343f57
rgb(52,63,87)
-
#2f3d5c
#2f3d5c
rgb(47,61,92)
-
#293b62
#293b62
rgb(41,59,98)
-
#243a67
#243a67
rgb(36,58,103)
-
#1f386c
#1f386c
rgb(31,56,108)
-
#193672
#193672
rgb(25,54,114)
-
#143477
#143477
rgb(20,52,119)
-
#0f327c
#0f327c
rgb(15,50,124)
-
#093082
#093082
rgb(9,48,130)
-
#042e87
#042e87
rgb(4,46,135)
Tone Color Variation
Below, you can see how #042e87 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
Dichromacy