#040540 Color Information
In a RGB color space, hex #040540 is composed of 1.6% red, 2% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 93.8% cyan, 92.2% magenta, 0% yellow and 74.9% black. It has a hue angle of 239 degrees, a saturation of 88.2% and a lightness of 13.3%. #040540 color hex could be obtained by blending #080a80 with #000000. Closest websafe color is: #000033.
-
- R 2
- G 2
- B 25
-
- C 94
- M 92
- Y 0
- K 75
● #040540 color description : Very dark blue.
#040540 Color Conversion
The hexadecimal color #040540 has RGB values of R:4, G:5, B:64 and CMYK values of C:0.94, M:0.92, Y:0, K:0.75. Its decimal value is 263488.
Hex triplet | 040540 | #040540 |
---|---|---|
RGB Decimal | 4, 5, 64 | rgb(4,5,64) |
RGB Percent | 1.6, 2, 25.1 | rgb(1.6%,2%,25.1%) |
CMYK | 94, 92, 0, 75 | |
HSL | 239°, 88.2, 13.3 | hsl(239,88.2%,13.3%) |
HSV (or HSB) | 239°, 93.8, 25.1 | |
Web Safe | 000033 | #000033 |
CIE-LAB | 4.557, 22.025, -35.664 |
---|---|
XYZ | 1.03, 0.504, 4.893 |
xyY | 0.16, 0.078, 0.504 |
CIE-LCH | 4.557, 41.917, 301.698 |
CIE-LUV | 4.557, -1.239, -16.188 |
Hunter-Lab | 7.102, 13.446, -35.877 |
Binary | 00000100, 00000101, 01000000 |
Color Schemes with #040540
Alternatives to #040540
Below, you can see some colors close to #040540. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040540 Preview
This text has a font color of #040540.
<span style="color:#040540;">Text here</span>
This paragraph has a background color of #040540.
<p style="background-color:#040540;">Content here</p>
This element has a border color of #040540.
<div style="border:1px solid #040540;">Content here</div>
.text {color:#040540;}
.background {background-color:#040540;}
.border {border:1px solid #040540;}
Shades and Tints of #040540
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 #f5f5fe is the lightest one.
-
#010109
#010109
rgb(1,1,9)
-
#02021b
#02021b
rgb(2,2,27)
-
#03042e
#03042e
rgb(3,4,46)
-
#040540
#040540
rgb(4,5,64)
-
#050652
#050652
rgb(5,6,82)
-
#060865
#060865
rgb(6,8,101)
-
#070977
#070977
rgb(7,9,119)
-
#090b8a
#090b8a
rgb(9,11,138)
-
#0a0c9c
#0a0c9c
rgb(10,12,156)
-
#0b0eaf
#0b0eaf
rgb(11,14,175)
-
#0c0fc1
#0c0fc1
rgb(12,15,193)
-
#0d11d4
#0d11d4
rgb(13,17,212)
-
#0e12e6
#0e12e6
rgb(14,18,230)
-
#181bf1
#181bf1
rgb(24,27,241)
-
#2a2df2
#2a2df2
rgb(42,45,242)
-
#3d40f3
#3d40f3
rgb(61,64,243)
-
#4f52f4
#4f52f4
rgb(79,82,244)
-
#6164f5
#6164f5
rgb(97,100,245)
-
#7476f6
#7476f6
rgb(116,118,246)
-
#8688f7
#8688f7
rgb(134,136,247)
-
#999af9
#999af9
rgb(153,154,249)
-
#abadfa
#abadfa
rgb(171,173,250)
-
#bebffb
#bebffb
rgb(190,191,251)
-
#d0d1fc
#d0d1fc
rgb(208,209,252)
-
#e3e3fd
#e3e3fd
rgb(227,227,253)
-
#f5f5fe
#f5f5fe
rgb(245,245,254)
Tones of #040540
A tone is produced by adding gray to any pure hue. In this case, #212123 is the less saturated color, while #010243 is the most saturated one.
-
#212123
#212123
rgb(33,33,35)
-
#1e1e26
#1e1e26
rgb(30,30,38)
-
#1c1c28
#1c1c28
rgb(28,28,40)
-
#19192b
#19192b
rgb(25,25,43)
-
#16172e
#16172e
rgb(22,23,46)
-
#141430
#141430
rgb(20,20,48)
-
#111233
#111233
rgb(17,18,51)
-
#0e0f36
#0e0f36
rgb(14,15,54)
-
#0c0d38
#0c0d38
rgb(12,13,56)
-
#090a3b
#090a3b
rgb(9,10,59)
-
#07083d
#07083d
rgb(7,8,61)
-
#040540
#040540
rgb(4,5,64)
-
#010243
#010243
rgb(1,2,67)
Color Blindness Simulator
Below, you can see how #040540 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.