#042040 Color Information
In a RGB color space, hex #042040 is composed of 1.6% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 50% magenta, 0% yellow and 74.9% black. It has a hue angle of 212 degrees, a saturation of 88.2% and a lightness of 13.3%. #042040 color hex could be obtained by blending #084080 with #000000. Closest websafe color is: #003333.
-
- R 2
- G 13
- B 25
-
- C 94
- M 50
- Y 0
- K 75
● #042040 color description : Very dark blue.
#042040 Color Conversion
The hexadecimal color #042040 has RGB values of R:4, G:32, B:64 and CMYK values of C:0.94, M:0.5, Y:0, K:0.75. Its decimal value is 270400.
| Hex triplet | 042040 | #042040 |
|---|---|---|
| RGB Decimal | 4, 32, 64 | rgb(4,32,64) |
| RGB Percent | 1.6, 12.5, 25.1 | rgb(1.6%,12.5%,25.1%) |
| CMYK | 94, 50, 0, 75 | |
| HSL | 212°, 88.2, 13.3 | hsl(212,88.2%,13.3%) |
| HSV (or HSB) | 212°, 93.8, 25.1 | |
| Web Safe | 003333 | #003333 |
| CIE-LAB | 12.149, 3.857, -23.313 |
|---|---|
| XYZ | 1.492, 1.429, 5.047 |
| xyY | 0.187, 0.179, 1.429 |
| CIE-LCH | 12.149, 23.63, 279.394 |
| CIE-LUV | 12.149, -6.489, -20.612 |
| Hunter-Lab | 11.954, 1.358, -16.668 |
| Binary | 00000100, 00100000, 01000000 |
Color Schemes with #042040
Alternatives to #042040
Below, you can see some colors close to #042040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#042040 Preview
This text has a font color of #042040.
<span style="color:#042040;">Text here</span>
This paragraph has a background color of #042040.
<p style="background-color:#042040;">Content here</p>
This element has a border color of #042040.
<div style="border:1px solid #042040;">Content here</div>
.text {color:#042040;}
.background {background-color:#042040;}
.border {border:1px solid #042040;}
Shades and Tints of #042040
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, #010409 is the darkest color, while #f5f9fe is the lightest one.
-
#010409
#010409rgb(1,4,9) -
#020e1b
#020e1brgb(2,14,27) -
#03172e
#03172ergb(3,23,46) -
#042040
#042040rgb(4,32,64) -
#052952
#052952rgb(5,41,82) -
#063265
#063265rgb(6,50,101) -
#073c77
#073c77rgb(7,60,119) -
#09458a
#09458argb(9,69,138) -
#0a4e9c
#0a4e9crgb(10,78,156) -
#0b57af
#0b57afrgb(11,87,175) -
#0c61c1
#0c61c1rgb(12,97,193) -
#0d6ad4
#0d6ad4rgb(13,106,212) -
#0e73e6
#0e73e6rgb(14,115,230)
-
#187df1
#187df1rgb(24,125,241) -
#2a87f2
#2a87f2rgb(42,135,242) -
#3d92f3
#3d92f3rgb(61,146,243) -
#4f9cf4
#4f9cf4rgb(79,156,244) -
#61a6f5
#61a6f5rgb(97,166,245) -
#74b1f6
#74b1f6rgb(116,177,246) -
#86bbf7
#86bbf7rgb(134,187,247) -
#99c6f9
#99c6f9rgb(153,198,249) -
#abd0fa
#abd0fargb(171,208,250) -
#bedafb
#bedafbrgb(190,218,251) -
#d0e5fc
#d0e5fcrgb(208,229,252) -
#e3effd
#e3effdrgb(227,239,253) -
#f5f9fe
#f5f9fergb(245,249,254)
Tones of #042040
A tone is produced by adding gray to any pure hue. In this case, #212223 is the less saturated color, while #012043 is the most saturated one.
-
#212223
#212223rgb(33,34,35) -
#1e2226
#1e2226rgb(30,34,38) -
#1c2228
#1c2228rgb(28,34,40) -
#19212b
#19212brgb(25,33,43) -
#16212e
#16212ergb(22,33,46) -
#142130
#142130rgb(20,33,48) -
#112133
#112133rgb(17,33,51) -
#0e2136
#0e2136rgb(14,33,54) -
#0c2138
#0c2138rgb(12,33,56) -
#09203b
#09203brgb(9,32,59) -
#07203d
#07203drgb(7,32,61) -
#042040
#042040rgb(4,32,64) -
#012043
#012043rgb(1,32,67)
Color Blindness Simulator
Below, you can see how #042040 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.
