#040f8c Color Information
In a RGB color space, hex #040f8c is composed of 1.6% red, 5.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 89.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 235.1 degrees, a saturation of 94.4% and a lightness of 28.2%. #040f8c color hex could be obtained by blending #081eff with #000019. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 55
-
- C 97
- M 89
- Y 0
- K 45
● #040f8c color description : Dark blue.
#040f8c Color Conversion
The hexadecimal color #040f8c has RGB values of R:4, G:15, B:140 and CMYK values of C:0.97, M:0.89, Y:0, K:0.45. Its decimal value is 266124.
Hex triplet | 040f8c | #040f8c |
---|---|---|
RGB Decimal | 4, 15, 140 | rgb(4,15,140) |
RGB Percent | 1.6, 5.9, 54.9 | rgb(1.6%,5.9%,54.9%) |
CMYK | 97, 89, 0, 45 | |
HSL | 235.1°, 94.4, 28.2 | hsl(235.1,94.4%,28.2%) |
HSV (or HSB) | 235.1°, 97.1, 54.9 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.799, 45.39, -65.893 |
---|---|
XYZ | 4.954, 2.261, 24.985 |
xyY | 0.154, 0.07, 2.261 |
CIE-LCH | 16.799, 80.014, 304.561 |
CIE-LUV | 16.799, -5.186, -63.242 |
Hunter-Lab | 15.035, 32.499, -88.002 |
Binary | 00000100, 00001111, 10001100 |
Color Schemes with #040f8c
Alternatives to #040f8c
Below, you can see some colors close to #040f8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f8c Preview
This text has a font color of #040f8c.
<span style="color:#040f8c;">Text here</span>
This paragraph has a background color of #040f8c.
<p style="background-color:#040f8c;">Content here</p>
This element has a border color of #040f8c.
<div style="border:1px solid #040f8c;">Content here</div>
.text {color:#040f8c;}
.background {background-color:#040f8c;}
.border {border:1px solid #040f8c;}
Shades and Tints of #040f8c
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, #000107 is the darkest color, while #f2f3ff is the lightest one.
-
#000107
#000107
rgb(0,1,7)
-
#01031a
#01031a
rgb(1,3,26)
-
#01052d
#01052d
rgb(1,5,45)
-
#020740
#020740
rgb(2,7,64)
-
#020953
#020953
rgb(2,9,83)
-
#030b66
#030b66
rgb(3,11,102)
-
#030d79
#030d79
rgb(3,13,121)
-
#040f8c
#040f8c
rgb(4,15,140)
-
#05119f
#05119f
rgb(5,17,159)
-
#0513b2
#0513b2
rgb(5,19,178)
-
#0615c5
#0615c5
rgb(6,21,197)
-
#0617d8
#0617d8
rgb(6,23,216)
-
#0719eb
#0719eb
rgb(7,25,235)
-
#0e21f8
#0e21f8
rgb(14,33,248)
-
#2132f9
#2132f9
rgb(33,50,249)
-
#3444f9
#3444f9
rgb(52,68,249)
-
#4755fa
#4755fa
rgb(71,85,250)
-
#5a67fa
#5a67fa
rgb(90,103,250)
-
#6d78fb
#6d78fb
rgb(109,120,251)
-
#808afb
#808afb
rgb(128,138,251)
-
#939cfc
#939cfc
rgb(147,156,252)
-
#a6adfc
#a6adfc
rgb(166,173,252)
-
#b9bffd
#b9bffd
rgb(185,191,253)
-
#ccd0fe
#ccd0fe
rgb(204,208,254)
-
#dfe2fe
#dfe2fe
rgb(223,226,254)
-
#f2f3ff
#f2f3ff
rgb(242,243,255)
Tones of #040f8c
A tone is produced by adding gray to any pure hue. In this case, #46474a is the less saturated color, while #040f8c is the most saturated one.
-
#46474a
#46474a
rgb(70,71,74)
-
#41424f
#41424f
rgb(65,66,79)
-
#3b3d55
#3b3d55
rgb(59,61,85)
-
#36395a
#36395a
rgb(54,57,90)
-
#303460
#303460
rgb(48,52,96)
-
#2b2f65
#2b2f65
rgb(43,47,101)
-
#252b6b
#252b6b
rgb(37,43,107)
-
#202670
#202670
rgb(32,38,112)
-
#1a2276
#1a2276
rgb(26,34,118)
-
#151d7b
#151d7b
rgb(21,29,123)
-
#0f1881
#0f1881
rgb(15,24,129)
-
#0a1486
#0a1486
rgb(10,20,134)
-
#040f8c
#040f8c
rgb(4,15,140)
Color Blindness Simulator
Below, you can see how #040f8c 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.