#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
#010509
rgb(1,5,9)
-
#02101b
#02101b
rgb(2,16,27)
-
#031a2e
#031a2e
rgb(3,26,46)
-
#042540
#042540
rgb(4,37,64)
-
#053052
#053052
rgb(5,48,82)
-
#063a65
#063a65
rgb(6,58,101)
-
#074577
#074577
rgb(7,69,119)
-
#09508a
#09508a
rgb(9,80,138)
-
#0a5a9c
#0a5a9c
rgb(10,90,156)
-
#0b65af
#0b65af
rgb(11,101,175)
-
#0c70c1
#0c70c1
rgb(12,112,193)
-
#0d7ad4
#0d7ad4
rgb(13,122,212)
-
#0e85e6
#0e85e6
rgb(14,133,230)
-
#188ff1
#188ff1
rgb(24,143,241)
-
#2a98f2
#2a98f2
rgb(42,152,242)
-
#3da1f3
#3da1f3
rgb(61,161,243)
-
#4faaf4
#4faaf4
rgb(79,170,244)
-
#61b3f5
#61b3f5
rgb(97,179,245)
-
#74bcf6
#74bcf6
rgb(116,188,246)
-
#86c5f7
#86c5f7
rgb(134,197,247)
-
#99cef9
#99cef9
rgb(153,206,249)
-
#abd6fa
#abd6fa
rgb(171,214,250)
-
#bedffb
#bedffb
rgb(190,223,251)
-
#d0e8fc
#d0e8fc
rgb(208,232,252)
-
#e3f1fd
#e3f1fd
rgb(227,241,253)
-
#f5fafe
#f5fafe
rgb(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
#212223
rgb(33,34,35)
-
#1e2226
#1e2226
rgb(30,34,38)
-
#1c2328
#1c2328
rgb(28,35,40)
-
#19232b
#19232b
rgb(25,35,43)
-
#16232e
#16232e
rgb(22,35,46)
-
#142330
#142330
rgb(20,35,48)
-
#112433
#112433
rgb(17,36,51)
-
#0e2436
#0e2436
rgb(14,36,54)
-
#0c2438
#0c2438
rgb(12,36,56)
-
#09243b
#09243b
rgb(9,36,59)
-
#07253d
#07253d
rgb(7,37,61)
-
#042540
#042540
rgb(4,37,64)
-
#012543
#012543
rgb(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.