#040840 Color Information
In a RGB color space, hex #040840 is composed of 1.6% red, 3.1% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 87.5% magenta, 0% yellow and 74.9% black. It has a hue angle of 236 degrees, a saturation of 88.2% and a lightness of 13.3%. #040840 color hex could be obtained by blending #081080 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 3
- B 25
-
- C 94
- M 88
- Y 0
- K 75
● #040840 color description : Very dark blue.
#040840 Color Conversion
The hexadecimal color #040840 has RGB values of R:4, G:8, B:64 and CMYK values of C:0.94, M:0.88, Y:0, K:0.75. Its decimal value is 264256.
| Hex triplet | 040840 | #040840 |
|---|---|---|
| RGB Decimal | 4, 8, 64 | rgb(4,8,64) |
| RGB Percent | 1.6, 3.1, 25.1 | rgb(1.6%,3.1%,25.1%) |
| CMYK | 94, 88, 0, 75 | |
| HSL | 236°, 88.2, 13.3 | hsl(236,88.2%,13.3%) |
| HSV (or HSB) | 236°, 93.8, 25.1 | |
| Web Safe | 000033 | #000033 |
| CIE-LAB | 5.145, 20.643, -34.703 |
|---|---|
| XYZ | 1.062, 0.57, 4.904 |
| xyY | 0.163, 0.087, 0.57 |
| CIE-LCH | 5.145, 40.378, 300.747 |
| CIE-LUV | 5.145, -1.547, -17.225 |
| Hunter-Lab | 7.547, 11.914, -33.245 |
| Binary | 00000100, 00001000, 01000000 |
Color Schemes with #040840
Alternatives to #040840
Below, you can see some colors close to #040840. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040840 Preview
This text has a font color of #040840.
<span style="color:#040840;">Text here</span>
This paragraph has a background color of #040840.
<p style="background-color:#040840;">Content here</p>
This element has a border color of #040840.
<div style="border:1px solid #040840;">Content here</div>
.text {color:#040840;}
.background {background-color:#040840;}
.border {border:1px solid #040840;}
Shades and Tints of #040840
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, #010109 is the darkest color, while #f5f6fe is the lightest one.
-
#010109
#010109rgb(1,1,9) -
#02031b
#02031brgb(2,3,27) -
#03062e
#03062ergb(3,6,46) -
#040840
#040840rgb(4,8,64) -
#050a52
#050a52rgb(5,10,82) -
#060d65
#060d65rgb(6,13,101) -
#070f77
#070f77rgb(7,15,119) -
#09118a
#09118argb(9,17,138) -
#0a149c
#0a149crgb(10,20,156) -
#0b16af
#0b16afrgb(11,22,175) -
#0c18c1
#0c18c1rgb(12,24,193) -
#0d1ad4
#0d1ad4rgb(13,26,212) -
#0e1de6
#0e1de6rgb(14,29,230)
-
#1826f1
#1826f1rgb(24,38,241) -
#2a37f2
#2a37f2rgb(42,55,242) -
#3d49f3
#3d49f3rgb(61,73,243) -
#4f5af4
#4f5af4rgb(79,90,244) -
#616bf5
#616bf5rgb(97,107,245) -
#747df6
#747df6rgb(116,125,246) -
#868ef7
#868ef7rgb(134,142,247) -
#999ff9
#999ff9rgb(153,159,249) -
#abb1fa
#abb1fargb(171,177,250) -
#bec2fb
#bec2fbrgb(190,194,251) -
#d0d3fc
#d0d3fcrgb(208,211,252) -
#e3e4fd
#e3e4fdrgb(227,228,253) -
#f5f6fe
#f5f6fergb(245,246,254)
Tones of #040840
A tone is produced by adding gray to any pure hue. In this case, #212123 is the less saturated color, while #010643 is the most saturated one.
-
#212123
#212123rgb(33,33,35) -
#1e1f26
#1e1f26rgb(30,31,38) -
#1c1c28
#1c1c28rgb(28,28,40) -
#191a2b
#191a2brgb(25,26,43) -
#16182e
#16182ergb(22,24,46) -
#141630
#141630rgb(20,22,48) -
#111333
#111333rgb(17,19,51) -
#0e1136
#0e1136rgb(14,17,54) -
#0c0f38
#0c0f38rgb(12,15,56) -
#090d3b
#090d3brgb(9,13,59) -
#070a3d
#070a3drgb(7,10,61) -
#040840
#040840rgb(4,8,64) -
#010643
#010643rgb(1,6,67)
Color Blindness Simulator
Below, you can see how #040840 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.
