#040f8a Color Information
In a RGB color space, hex #040f8a is composed of 1.6% red, 5.9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 97.1% cyan, 89.1% magenta, 0% yellow and 45.9% black. It has a hue angle of 235.1 degrees, a saturation of 94.4% and a lightness of 27.8%. #040f8a color hex could be obtained by blending #081eff with #000015. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 54
-
- C 97
- M 89
- Y 0
- K 46
● #040f8a color description : Dark blue.
#040f8a Color Conversion
The hexadecimal color #040f8a has RGB values of R:4, G:15, B:138 and CMYK values of C:0.97, M:0.89, Y:0, K:0.46. Its decimal value is 266122.
Hex triplet | 040f8a | #040f8a |
---|---|---|
RGB Decimal | 4, 15, 138 | rgb(4,15,138) |
RGB Percent | 1.6, 5.9, 54.1 | rgb(1.6%,5.9%,54.1%) |
CMYK | 97, 89, 0, 46 | |
HSL | 235.1°, 94.4, 27.8 | hsl(235.1,94.4%,27.8%) |
HSV (or HSB) | 235.1°, 97.1, 54.1 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 16.514, 44.765, -65.114 |
---|---|
XYZ | 4.807, 2.202, 24.215 |
xyY | 0.154, 0.071, 2.202 |
CIE-LCH | 16.514, 79.018, 304.508 |
CIE-LUV | 16.514, -5.107, -62.033 |
Hunter-Lab | 14.839, 31.859, -86.363 |
Binary | 00000100, 00001111, 10001010 |
Color Schemes with #040f8a
Alternatives to #040f8a
Below, you can see some colors close to #040f8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040f8a Preview
This text has a font color of #040f8a.
<span style="color:#040f8a;">Text here</span>
This paragraph has a background color of #040f8a.
<p style="background-color:#040f8a;">Content here</p>
This element has a border color of #040f8a.
<div style="border:1px solid #040f8a;">Content here</div>
.text {color:#040f8a;}
.background {background-color:#040f8a;}
.border {border:1px solid #040f8a;}
Shades and Tints of #040f8a
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, #000005 is the darkest color, while #f0f2ff is the lightest one.
-
#000005
#000005
rgb(0,0,5)
-
#010318
#010318
rgb(1,3,24)
-
#01052b
#01052b
rgb(1,5,43)
-
#02073e
#02073e
rgb(2,7,62)
-
#020951
#020951
rgb(2,9,81)
-
#030b64
#030b64
rgb(3,11,100)
-
#030d77
#030d77
rgb(3,13,119)
-
#040f8a
#040f8a
rgb(4,15,138)
-
#05119d
#05119d
rgb(5,17,157)
-
#0513b0
#0513b0
rgb(5,19,176)
-
#0615c3
#0615c3
rgb(6,21,195)
-
#0617d6
#0617d6
rgb(6,23,214)
-
#0719e9
#0719e9
rgb(7,25,233)
-
#0c1ff8
#0c1ff8
rgb(12,31,248)
-
#1f31f9
#1f31f9
rgb(31,49,249)
-
#3242f9
#3242f9
rgb(50,66,249)
-
#4554fa
#4554fa
rgb(69,84,250)
-
#5865fa
#5865fa
rgb(88,101,250)
-
#6b77fb
#6b77fb
rgb(107,119,251)
-
#7e88fb
#7e88fb
rgb(126,136,251)
-
#919afc
#919afc
rgb(145,154,252)
-
#a4abfc
#a4abfc
rgb(164,171,252)
-
#b7bdfd
#b7bdfd
rgb(183,189,253)
-
#cacffd
#cacffd
rgb(202,207,253)
-
#dde0fe
#dde0fe
rgb(221,224,254)
-
#f0f2ff
#f0f2ff
rgb(240,242,255)
Tones of #040f8a
A tone is produced by adding gray to any pure hue. In this case, #464648 is the less saturated color, while #040f8a is the most saturated one.
-
#464648
#464648
rgb(70,70,72)
-
#40414e
#40414e
rgb(64,65,78)
-
#3b3d53
#3b3d53
rgb(59,61,83)
-
#353859
#353859
rgb(53,56,89)
-
#30345e
#30345e
rgb(48,52,94)
-
#2a2f64
#2a2f64
rgb(42,47,100)
-
#252a69
#252a69
rgb(37,42,105)
-
#1f266f
#1f266f
rgb(31,38,111)
-
#1a2174
#1a2174
rgb(26,33,116)
-
#141d7a
#141d7a
rgb(20,29,122)
-
#0f187f
#0f187f
rgb(15,24,127)
-
#091485
#091485
rgb(9,20,133)
-
#040f8a
#040f8a
rgb(4,15,138)
Color Blindness Simulator
Below, you can see how #040f8a 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.