#040240 Color Information
In a RGB color space, hex #040240 is composed of 1.6% red, 0.8% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 96.9% magenta, 0% yellow and 74.9% black. It has a hue angle of 241.9 degrees, a saturation of 93.9% and a lightness of 12.9%. #040240 color hex could be obtained by blending #080480 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 1
- B 25
-
- C 94
- M 97
- Y 0
- K 75
● #040240 color description : Very dark blue.
#040240 Color Conversion
The hexadecimal color #040240 has RGB values of R:4, G:2, B:64 and CMYK values of C:0.94, M:0.97, Y:0, K:0.75. Its decimal value is 262720.
Hex triplet | 040240 | #040240 |
---|---|---|
RGB Decimal | 4, 2, 64 | rgb(4,2,64) |
RGB Percent | 1.6, 0.8, 25.1 | rgb(1.6%,0.8%,25.1%) |
CMYK | 94, 97, 0, 75 | |
HSL | 241.9°, 93.9, 12.9 | hsl(241.9,93.9%,12.9%) |
HSV (or HSB) | 241.9°, 96.9, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 3.968, 23.381, -36.626 |
---|---|
XYZ | 0.997, 0.439, 4.882 |
xyY | 0.158, 0.07, 0.439 |
CIE-LCH | 3.968, 43.453, 302.553 |
CIE-LUV | 3.968, -0.953, -14.987 |
Hunter-Lab | 6.628, 15.251, -39.035 |
Binary | 00000100, 00000010, 01000000 |
Color Schemes with #040240
Alternatives to #040240
Below, you can see some colors close to #040240. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040240 Preview
This text has a font color of #040240.
<span style="color:#040240;">Text here</span>
This paragraph has a background color of #040240.
<p style="background-color:#040240;">Content here</p>
This element has a border color of #040240.
<div style="border:1px solid #040240;">Content here</div>
.text {color:#040240;}
.background {background-color:#040240;}
.border {border:1px solid #040240;}
Shades and Tints of #040240
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, #000007 is the darkest color, while #f3f3ff is the lightest one.
-
#000007
#000007
rgb(0,0,7)
-
#02011a
#02011a
rgb(2,1,26)
-
#03012d
#03012d
rgb(3,1,45)
-
#040240
#040240
rgb(4,2,64)
-
#050353
#050353
rgb(5,3,83)
-
#060366
#060366
rgb(6,3,102)
-
#080479
#080479
rgb(8,4,121)
-
#09048c
#09048c
rgb(9,4,140)
-
#0a059f
#0a059f
rgb(10,5,159)
-
#0b06b2
#0b06b2
rgb(11,6,178)
-
#0c06c5
#0c06c5
rgb(12,6,197)
-
#0e07d8
#0e07d8
rgb(14,7,216)
-
#0f07eb
#0f07eb
rgb(15,7,235)
-
#160ff7
#160ff7
rgb(22,15,247)
-
#2922f8
#2922f8
rgb(41,34,248)
-
#3b35f9
#3b35f9
rgb(59,53,249)
-
#4d48f9
#4d48f9
rgb(77,72,249)
-
#605bfa
#605bfa
rgb(96,91,250)
-
#726efa
#726efa
rgb(114,110,250)
-
#8581fb
#8581fb
rgb(133,129,251)
-
#9794fc
#9794fc
rgb(151,148,252)
-
#aaa7fc
#aaa7fc
rgb(170,167,252)
-
#bcbafd
#bcbafd
rgb(188,186,253)
-
#cecdfd
#cecdfd
rgb(206,205,253)
-
#e1e0fe
#e1e0fe
rgb(225,224,254)
-
#f3f3ff
#f3f3ff
rgb(243,243,255)
Tones of #040240
A tone is produced by adding gray to any pure hue. In this case, #202022 is the less saturated color, while #040240 is the most saturated one.
-
#202022
#202022
rgb(32,32,34)
-
#1e1e24
#1e1e24
rgb(30,30,36)
-
#1c1b27
#1c1b27
rgb(28,27,39)
-
#191929
#191929
rgb(25,25,41)
-
#17162c
#17162c
rgb(23,22,44)
-
#15142e
#15142e
rgb(21,20,46)
-
#121131
#121131
rgb(18,17,49)
-
#100f33
#100f33
rgb(16,15,51)
-
#0d0c36
#0d0c36
rgb(13,12,54)
-
#0b0a38
#0b0a38
rgb(11,10,56)
-
#09073b
#09073b
rgb(9,7,59)
-
#06053d
#06053d
rgb(6,5,61)
-
#040240
#040240
rgb(4,2,64)
Color Blindness Simulator
Below, you can see how #040240 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.