#042ab6 hex color
In a RGB color space, hex #042ab6 is composed of 1.6% red, 16.5% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 97.8% cyan, 76.9% magenta, 0% yellow and 28.6% black. It has a hue angle of 227.2 degrees, a saturation of 95.7% and a lightness of 36.5%. #042ab6 color hex could be obtained by blending #0854ff with #00006d. Closest websafe color is: #0033cc.
-
- R 2
- G 16
- B 71
RGB color chart
-
- C 98
- M 77
- Y 0
- K 29
CMYK color chart
● #042ab6 color description : Strong blue.
The hexadecimal color #042ab6 has RGB values of R:4, G:42, B:182 and CMYK values of C:0.98, M:0.77, Y:0, K:0.29. Its decimal value is 273078.
Hex triplet | 042ab6 | #042ab6 |
---|---|---|
RGB Decimal | 4, 42, 182 | rgb(4,42,182) |
RGB Percent | 1.6, 16.5, 71.4 | rgb(1.6%,16.5%,71.4%) |
CMYK | 98, 77, 0, 29 | |
HSL | 227.2°, 95.7, 36.5 | hsl(227.2,95.7%,36.5%) |
HSV (or HSB) | 227.2°, 97.8, 71.4 | |
Web Safe | 0033cc | #0033cc |
CIE-LAB | 26.9, 45.649, -74.72 |
---|---|
XYZ | 9.32, 5.058, 44.739 |
xyY | 0.158, 0.086, 5.058 |
CIE-LCH | 26.9, 87.561, 301.422 |
CIE-LUV | 26.9, -9.769, -91.22 |
Hunter-Lab | 22.491, 34.608, -102.196 |
Binary | 00000100, 00101010, 10110110 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #042ab6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #042ab6
This text has a font color of #042ab6.
<span style="color:#042ab6;">Text here</span>
#042ab6 background color
This paragraph has a background color of #042ab6.
<p style="background-color:#042ab6;">Content here</p>
#042ab6 border color
This element has a border color of #042ab6.
<div style="border:1px solid #042ab6;">Content here</div>
CSS codes
.text {color:#042ab6;}
.background {background-color:#042ab6;}
.border {border:1px solid #042ab6;}
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, #000209 is the darkest color, while #f5f7ff is the lightest one.
-
#000209
#000209
rgb(0,2,9)
-
#01071c
#01071c
rgb(1,7,28)
-
#010b30
#010b30
rgb(1,11,48)
-
#010f43
#010f43
rgb(1,15,67)
-
#021456
#021456
rgb(2,20,86)
-
#021869
#021869
rgb(2,24,105)
-
#031d7c
#031d7c
rgb(3,29,124)
-
#032190
#032190
rgb(3,33,144)
-
#0426a3
#0426a3
rgb(4,38,163)
-
#042ab6
#042ab6
rgb(4,42,182)
-
#042ec9
#042ec9
rgb(4,46,201)
-
#0533dc
#0533dc
rgb(5,51,220)
-
#0537f0
#0537f0
rgb(5,55,240)
Shade Color Variation
-
#0f41fa
#0f41fa
rgb(15,65,250)
-
#2250fa
#2250fa
rgb(34,80,250)
-
#355ffb
#355ffb
rgb(53,95,251)
-
#486efb
#486efb
rgb(72,110,251)
-
#5c7efb
#5c7efb
rgb(92,126,251)
-
#6f8dfc
#6f8dfc
rgb(111,141,252)
-
#829cfc
#829cfc
rgb(130,156,252)
-
#95abfd
#95abfd
rgb(149,171,253)
-
#a8bafd
#a8bafd
rgb(168,186,253)
-
#bbcafe
#bbcafe
rgb(187,202,254)
-
#cfd9fe
#cfd9fe
rgb(207,217,254)
-
#e2e8fe
#e2e8fe
rgb(226,232,254)
-
#f5f7ff
#f5f7ff
rgb(245,247,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5a5b60 is the less saturated color, while #042ab6 is the most saturated one.
-
#5a5b60
#5a5b60
rgb(90,91,96)
-
#535767
#535767
rgb(83,87,103)
-
#4c536e
#4c536e
rgb(76,83,110)
-
#444f76
#444f76
rgb(68,79,118)
-
#3d4b7d
#3d4b7d
rgb(61,75,125)
-
#364784
#364784
rgb(54,71,132)
-
#2f438b
#2f438b
rgb(47,67,139)
-
#283e92
#283e92
rgb(40,62,146)
-
#213a99
#213a99
rgb(33,58,153)
-
#1936a1
#1936a1
rgb(25,54,161)
-
#1232a8
#1232a8
rgb(18,50,168)
-
#0b2eaf
#0b2eaf
rgb(11,46,175)
-
#042ab6
#042ab6
rgb(4,42,182)
Tone Color Variation
Below, you can see how #042ab6 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