#042540 Color Information
In a RGB color space, hex #042540 is composed of 1.6% red, 14.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 42.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 207 degrees, a saturation of 88.2% and a lightness of 13.3%. #042540 color hex could be obtained by blending #084a80 with #000000. Closest websafe color is: #003333.
-
- R 2
- G 15
- B 25
-
- C 94
- M 42
- Y 0
- K 75
● #042540 color description : Very dark blue.
#042540 Color Conversion
The hexadecimal color #042540 has RGB values of R:4, G:37, B:64 and CMYK values of C:0.94, M:0.42, Y:0, K:0.75. Its decimal value is 271680.
| Hex triplet | 042540 | #042540 |
|---|---|---|
| RGB Decimal | 4, 37, 64 | rgb(4,37,64) |
| RGB Percent | 1.6, 14.5, 25.1 | rgb(1.6%,14.5%,25.1%) |
| CMYK | 94, 42, 0, 75 | |
| HSL | 207°, 88.2, 13.3 | hsl(207,88.2%,13.3%) |
| HSV (or HSB) | 207°, 93.8, 25.1 | |
| Web Safe | 003333 | #003333 |
| CIE-LAB | 13.937, 0.079, -20.458 |
|---|---|
| XYZ | 1.637, 1.719, 5.096 |
| xyY | 0.194, 0.203, 1.719 |
| CIE-LCH | 13.937, 20.458, 270.221 |
| CIE-LUV | 13.937, -8.07, -19.223 |
| Hunter-Lab | 13.111, -0.659, -13.866 |
| Binary | 00000100, 00100101, 01000000 |
Color Schemes with #042540
Alternatives to #042540
Below, you can see some colors close to #042540. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#042540 Preview
This text has a font color of #042540.
<span style="color:#042540;">Text here</span>
This paragraph has a background color of #042540.
<p style="background-color:#042540;">Content here</p>
This element has a border color of #042540.
<div style="border:1px solid #042540;">Content here</div>
.text {color:#042540;}
.background {background-color:#042540;}
.border {border:1px solid #042540;}
Shades and Tints of #042540
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, #010509 is the darkest color, while #f5fafe is the lightest one.
-
#010509
#010509rgb(1,5,9) -
#02101b
#02101brgb(2,16,27) -
#031a2e
#031a2ergb(3,26,46) -
#042540
#042540rgb(4,37,64) -
#053052
#053052rgb(5,48,82) -
#063a65
#063a65rgb(6,58,101) -
#074577
#074577rgb(7,69,119) -
#09508a
#09508argb(9,80,138) -
#0a5a9c
#0a5a9crgb(10,90,156) -
#0b65af
#0b65afrgb(11,101,175) -
#0c70c1
#0c70c1rgb(12,112,193) -
#0d7ad4
#0d7ad4rgb(13,122,212) -
#0e85e6
#0e85e6rgb(14,133,230)
-
#188ff1
#188ff1rgb(24,143,241) -
#2a98f2
#2a98f2rgb(42,152,242) -
#3da1f3
#3da1f3rgb(61,161,243) -
#4faaf4
#4faaf4rgb(79,170,244) -
#61b3f5
#61b3f5rgb(97,179,245) -
#74bcf6
#74bcf6rgb(116,188,246) -
#86c5f7
#86c5f7rgb(134,197,247) -
#99cef9
#99cef9rgb(153,206,249) -
#abd6fa
#abd6fargb(171,214,250) -
#bedffb
#bedffbrgb(190,223,251) -
#d0e8fc
#d0e8fcrgb(208,232,252) -
#e3f1fd
#e3f1fdrgb(227,241,253) -
#f5fafe
#f5fafergb(245,250,254)
Tones of #042540
A tone is produced by adding gray to any pure hue. In this case, #212223 is the less saturated color, while #012543 is the most saturated one.
-
#212223
#212223rgb(33,34,35) -
#1e2226
#1e2226rgb(30,34,38) -
#1c2328
#1c2328rgb(28,35,40) -
#19232b
#19232brgb(25,35,43) -
#16232e
#16232ergb(22,35,46) -
#142330
#142330rgb(20,35,48) -
#112433
#112433rgb(17,36,51) -
#0e2436
#0e2436rgb(14,36,54) -
#0c2438
#0c2438rgb(12,36,56) -
#09243b
#09243brgb(9,36,59) -
#07253d
#07253drgb(7,37,61) -
#042540
#042540rgb(4,37,64) -
#012543
#012543rgb(1,37,67)
Color Blindness Simulator
Below, you can see how #042540 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.
