#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
#01010brgb(1,1,11) -
#02021d
#02021drgb(2,2,29) -
#030430
#030430rgb(3,4,48) -
#040542
#040542rgb(4,5,66) -
#050654
#050654rgb(5,6,84) -
#060867
#060867rgb(6,8,103) -
#070979
#070979rgb(7,9,121) -
#080b8c
#080b8crgb(8,11,140) -
#0a0c9e
#0a0c9ergb(10,12,158) -
#0b0db1
#0b0db1rgb(11,13,177) -
#0c0fc3
#0c0fc3rgb(12,15,195) -
#0d10d6
#0d10d6rgb(13,16,214) -
#0e12e8
#0e12e8rgb(14,18,232)
-
#191df1
#191df1rgb(25,29,241) -
#2c2ff2
#2c2ff2rgb(44,47,242) -
#3e41f3
#3e41f3rgb(62,65,243) -
#5153f4
#5153f4rgb(81,83,244) -
#6365f6
#6365f6rgb(99,101,246) -
#7678f7
#7678f7rgb(118,120,247) -
#888af8
#888af8rgb(136,138,248) -
#9b9cf9
#9b9cf9rgb(155,156,249) -
#adaefa
#adaefargb(173,174,250) -
#c0c1fb
#c0c1fbrgb(192,193,251) -
#d2d3fc
#d2d3fcrgb(210,211,252) -
#e5e5fd
#e5e5fdrgb(229,229,253) -
#f7f7ff
#f7f7ffrgb(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
#222224rgb(34,34,36) -
#1f1f27
#1f1f27rgb(31,31,39) -
#1c1c2a
#1c1c2argb(28,28,42) -
#1a1a2c
#1a1a2crgb(26,26,44) -
#17172f
#17172frgb(23,23,47) -
#141532
#141532rgb(20,21,50) -
#111235
#111235rgb(17,18,53) -
#0f0f37
#0f0f37rgb(15,15,55) -
#0c0d3a
#0c0d3argb(12,13,58) -
#090a3d
#090a3drgb(9,10,61) -
#07083f
#07083frgb(7,8,63) -
#040542
#040542rgb(4,5,66) -
#010245
#010245rgb(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.
