#040842 Color Information
In a RGB color space, hex #040842 is composed of 1.6% red, 3.1% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 93.9% cyan, 87.9% magenta, 0% yellow and 74.1% black. It has a hue angle of 236.1 degrees, a saturation of 88.6% and a lightness of 13.7%. #040842 color hex could be obtained by blending #081084 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 3
- B 26
-
- C 94
- M 88
- Y 0
- K 74
● #040842 color description : Very dark blue.
#040842 Color Conversion
The hexadecimal color #040842 has RGB values of R:4, G:8, B:66 and CMYK values of C:0.94, M:0.88, Y:0, K:0.74. Its decimal value is 264258.
Hex triplet | 040842 | #040842 |
---|---|---|
RGB Decimal | 4, 8, 66 | rgb(4,8,66) |
RGB Percent | 1.6, 3.1, 25.9 | rgb(1.6%,3.1%,25.9%) |
CMYK | 94, 88, 0, 74 | |
HSL | 236.1°, 88.6, 13.7 | hsl(236.1,88.6%,13.7%) |
HSV (or HSB) | 236.1°, 93.9, 25.9 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 5.354, 21.738, -35.788 |
---|---|
XYZ | 1.12, 0.593, 5.209 |
xyY | 0.162, 0.086, 0.593 |
CIE-LCH | 5.354, 41.873, 301.275 |
CIE-LUV | 5.354, -1.608, -18.116 |
Hunter-Lab | 7.699, 12.496, -34.728 |
Binary | 00000100, 00001000, 01000010 |
Color Schemes with #040842
Alternatives to #040842
Below, you can see some colors close to #040842. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040842 Preview
This text has a font color of #040842.
<span style="color:#040842;">Text here</span>
This paragraph has a background color of #040842.
<p style="background-color:#040842;">Content here</p>
This element has a border color of #040842.
<div style="border:1px solid #040842;">Content here</div>
.text {color:#040842;}
.background {background-color:#040842;}
.border {border:1px solid #040842;}
Shades and Tints of #040842
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 #f7f8ff is the lightest one.
-
#01010b
#01010b
rgb(1,1,11)
-
#02041d
#02041d
rgb(2,4,29)
-
#030630
#030630
rgb(3,6,48)
-
#040842
#040842
rgb(4,8,66)
-
#050a54
#050a54
rgb(5,10,84)
-
#060c67
#060c67
rgb(6,12,103)
-
#070f79
#070f79
rgb(7,15,121)
-
#08118c
#08118c
rgb(8,17,140)
-
#0a139e
#0a139e
rgb(10,19,158)
-
#0b15b1
#0b15b1
rgb(11,21,177)
-
#0c18c3
#0c18c3
rgb(12,24,195)
-
#0d1ad6
#0d1ad6
rgb(13,26,214)
-
#0e1ce8
#0e1ce8
rgb(14,28,232)
-
#1927f1
#1927f1
rgb(25,39,241)
-
#2c38f2
#2c38f2
rgb(44,56,242)
-
#3e4af3
#3e4af3
rgb(62,74,243)
-
#515bf4
#515bf4
rgb(81,91,244)
-
#636df6
#636df6
rgb(99,109,246)
-
#767ef7
#767ef7
rgb(118,126,247)
-
#888ff8
#888ff8
rgb(136,143,248)
-
#9ba1f9
#9ba1f9
rgb(155,161,249)
-
#adb2fa
#adb2fa
rgb(173,178,250)
-
#c0c3fb
#c0c3fb
rgb(192,195,251)
-
#d2d5fc
#d2d5fc
rgb(210,213,252)
-
#e5e6fd
#e5e6fd
rgb(229,230,253)
-
#f7f8ff
#f7f8ff
rgb(247,248,255)
Tones of #040842
A tone is produced by adding gray to any pure hue. In this case, #222224 is the less saturated color, while #010645 is the most saturated one.
-
#222224
#222224
rgb(34,34,36)
-
#1f1f27
#1f1f27
rgb(31,31,39)
-
#1c1d2a
#1c1d2a
rgb(28,29,42)
-
#1a1b2c
#1a1b2c
rgb(26,27,44)
-
#17182f
#17182f
rgb(23,24,47)
-
#141632
#141632
rgb(20,22,50)
-
#111435
#111435
rgb(17,20,53)
-
#0f1137
#0f1137
rgb(15,17,55)
-
#0c0f3a
#0c0f3a
rgb(12,15,58)
-
#090d3d
#090d3d
rgb(9,13,61)
-
#070a3f
#070a3f
rgb(7,10,63)
-
#040842
#040842
rgb(4,8,66)
-
#010645
#010645
rgb(1,6,69)
Color Blindness Simulator
Below, you can see how #040842 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.