#042ea1 hex color
In a RGB color space, hex #042ea1 is composed of 1.6% red, 18% green and 63.1% blue. Whereas in a CMYK color space, it is composed of 97.5% cyan, 71.4% magenta, 0% yellow and 36.9% black. It has a hue angle of 223.9 degrees, a saturation of 95.2% and a lightness of 32.4%. #042ea1 color hex could be obtained by blending #085cff with #000043. Closest websafe color is: #003399.
-
- R 2
- G 18
- B 63
RGB color chart
-
- C 98
- M 71
- Y 0
- K 37
CMYK color chart
● #042ea1 color description : Dark blue.
The hexadecimal color #042ea1 has RGB values of R:4, G:46, B:161 and CMYK values of C:0.98, M:0.71, Y:0, K:0.37. Its decimal value is 274081.
Hex triplet | 042ea1 | #042ea1 |
---|---|---|
RGB Decimal | 4, 46, 161 | rgb(4,46,161) |
RGB Percent | 1.6, 18, 63.1 | rgb(1.6%,18%,63.1%) |
CMYK | 98, 71, 0, 37 | |
HSL | 223.9°, 95.2, 32.4 | hsl(223.9,95.2%,32.4%) |
HSV (or HSB) | 223.9°, 97.5, 63.1 | |
Web Safe | 003399 | #003399 |
CIE-LAB | 25.419, 35.533, -64.541 |
---|---|
XYZ | 7.459, 4.552, 34.202 |
xyY | 0.161, 0.099, 4.552 |
CIE-LCH | 25.419, 73.676, 298.835 |
CIE-LUV | 25.419, -10.097, -78.85 |
Hunter-Lab | 21.336, 25.061, -80.106 |
Binary | 00000100, 00101110, 10100001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #042ea1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #042ea1
This text has a font color of #042ea1.
<span style="color:#042ea1;">Text here</span>
#042ea1 background color
This paragraph has a background color of #042ea1.
<p style="background-color:#042ea1;">Content here</p>
#042ea1 border color
This element has a border color of #042ea1.
<div style="border:1px solid #042ea1;">Content here</div>
CSS codes
.text {color:#042ea1;}
.background {background-color:#042ea1;}
.border {border:1px solid #042ea1;}
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, #000208 is the darkest color, while #f4f7ff is the lightest one.
-
#000208
#000208
rgb(0,2,8)
-
#01081b
#01081b
rgb(1,8,27)
-
#010d2e
#010d2e
rgb(1,13,46)
-
#021341
#021341
rgb(2,19,65)
-
#021854
#021854
rgb(2,24,84)
-
#031e68
#031e68
rgb(3,30,104)
-
#03237b
#03237b
rgb(3,35,123)
-
#04298e
#04298e
rgb(4,41,142)
-
#042ea1
#042ea1
rgb(4,46,161)
-
#0433b4
#0433b4
rgb(4,51,180)
-
#0539c7
#0539c7
rgb(5,57,199)
-
#053eda
#053eda
rgb(5,62,218)
-
#0644ee
#0644ee
rgb(6,68,238)
Shade Color Variation
-
#0e4df9
#0e4df9
rgb(14,77,249)
-
#215bf9
#215bf9
rgb(33,91,249)
-
#3469fa
#3469fa
rgb(52,105,250)
-
#4777fa
#4777fa
rgb(71,119,250)
-
#5b86fb
#5b86fb
rgb(91,134,251)
-
#6e94fb
#6e94fb
rgb(110,148,251)
-
#81a2fc
#81a2fc
rgb(129,162,252)
-
#94b0fc
#94b0fc
rgb(148,176,252)
-
#a7befd
#a7befd
rgb(167,190,253)
-
#baccfd
#baccfd
rgb(186,204,253)
-
#cddafe
#cddafe
rgb(205,218,254)
-
#e1e9fe
#e1e9fe
rgb(225,233,254)
-
#f4f7ff
#f4f7ff
rgb(244,247,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #505155 is the less saturated color, while #042ea1 is the most saturated one.
-
#505155
#505155
rgb(80,81,85)
-
#4a4e5b
#4a4e5b
rgb(74,78,91)
-
#434c62
#434c62
rgb(67,76,98)
-
#3d4968
#3d4968
rgb(61,73,104)
-
#37466e
#37466e
rgb(55,70,110)
-
#304375
#304375
rgb(48,67,117)
-
#2a407b
#2a407b
rgb(42,64,123)
-
#243d81
#243d81
rgb(36,61,129)
-
#1d3a88
#1d3a88
rgb(29,58,136)
-
#17378e
#17378e
rgb(23,55,142)
-
#113494
#113494
rgb(17,52,148)
-
#0a319b
#0a319b
rgb(10,49,155)
-
#042ea1
#042ea1
rgb(4,46,161)
Tone Color Variation
Below, you can see how #042ea1 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