#040542 Color Information
In a RGB color space, hex #040542 is composed of 1.6% red, 2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 92.4% magenta, 0% yellow and 74.1% black. It has a hue angle of 239 degrees, a saturation of 88.6% and a lightness of 13.7%. #040542 color hex could be obtained by blending #080a84 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 2
- B 26
-
- C 94
- M 92
- Y 0
- K 74
● #040542 color description : Very dark blue.
#040542 Color Conversion
The hexadecimal color #040542 has RGB values of R:4, G:5, B:66 and CMYK values of C:0.94, M:0.92, Y:0, K:0.74. Its decimal value is 263490.
Hex triplet | 040542 | #040542 |
---|---|---|
RGB Decimal | 4, 5, 66 | rgb(4,5,66) |
RGB Percent | 1.6, 2, 25.9 | rgb(1.6%,2%,25.9%) |
CMYK | 94, 92, 0, 74 | |
HSL | 239°, 88.6, 13.7 | hsl(239,88.6%,13.7%) |
HSV (or HSB) | 239°, 93.9, 25.9 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.766, 23.16, -36.752 |
---|---|
XYZ | 1.088, 0.528, 5.198 |
xyY | 0.16, 0.077, 0.528 |
CIE-LCH | 4.766, 43.44, 302.218 |
CIE-LUV | 4.766, -1.3, -17.056 |
Hunter-Lab | 7.264, 14.013, -37.348 |
Binary | 00000100, 00000101, 01000010 |
Color Schemes with #040542
Alternatives to #040542
Below, you can see some colors close to #040542. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040542 Preview
This text has a font color of #040542.
<span style="color:#040542;">Text here</span>
This paragraph has a background color of #040542.
<p style="background-color:#040542;">Content here</p>
This element has a border color of #040542.
<div style="border:1px solid #040542;">Content here</div>
.text {color:#040542;}
.background {background-color:#040542;}
.border {border:1px solid #040542;}
Shades and Tints of #040542
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, #01010b is the darkest color, while #f7f7ff is the lightest one.
-
#01010b
#01010b
rgb(1,1,11)
-
#02021d
#02021d
rgb(2,2,29)
-
#030430
#030430
rgb(3,4,48)
-
#040542
#040542
rgb(4,5,66)
-
#050654
#050654
rgb(5,6,84)
-
#060867
#060867
rgb(6,8,103)
-
#070979
#070979
rgb(7,9,121)
-
#080b8c
#080b8c
rgb(8,11,140)
-
#0a0c9e
#0a0c9e
rgb(10,12,158)
-
#0b0db1
#0b0db1
rgb(11,13,177)
-
#0c0fc3
#0c0fc3
rgb(12,15,195)
-
#0d10d6
#0d10d6
rgb(13,16,214)
-
#0e12e8
#0e12e8
rgb(14,18,232)
-
#191df1
#191df1
rgb(25,29,241)
-
#2c2ff2
#2c2ff2
rgb(44,47,242)
-
#3e41f3
#3e41f3
rgb(62,65,243)
-
#5153f4
#5153f4
rgb(81,83,244)
-
#6365f6
#6365f6
rgb(99,101,246)
-
#7678f7
#7678f7
rgb(118,120,247)
-
#888af8
#888af8
rgb(136,138,248)
-
#9b9cf9
#9b9cf9
rgb(155,156,249)
-
#adaefa
#adaefa
rgb(173,174,250)
-
#c0c1fb
#c0c1fb
rgb(192,193,251)
-
#d2d3fc
#d2d3fc
rgb(210,211,252)
-
#e5e5fd
#e5e5fd
rgb(229,229,253)
-
#f7f7ff
#f7f7ff
rgb(247,247,255)
Tones of #040542
A tone is produced by adding gray to any pure hue. In this case, #222224 is the less saturated color, while #010245 is the most saturated one.
-
#222224
#222224
rgb(34,34,36)
-
#1f1f27
#1f1f27
rgb(31,31,39)
-
#1c1c2a
#1c1c2a
rgb(28,28,42)
-
#1a1a2c
#1a1a2c
rgb(26,26,44)
-
#17172f
#17172f
rgb(23,23,47)
-
#141532
#141532
rgb(20,21,50)
-
#111235
#111235
rgb(17,18,53)
-
#0f0f37
#0f0f37
rgb(15,15,55)
-
#0c0d3a
#0c0d3a
rgb(12,13,58)
-
#090a3d
#090a3d
rgb(9,10,61)
-
#07083f
#07083f
rgb(7,8,63)
-
#040542
#040542
rgb(4,5,66)
-
#010245
#010245
rgb(1,2,69)
Color Blindness Simulator
Below, you can see how #040542 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.