#040fa8 Color Information
In a RGB color space, hex #040fa8 is composed of 1.6% red, 5.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 97.6% cyan, 91.1% magenta, 0% yellow and 34.1% black. It has a hue angle of 236 degrees, a saturation of 95.3% and a lightness of 33.7%. #040fa8 color hex could be obtained by blending #081eff with #000051. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 66
-
- C 98
- M 91
- Y 0
- K 34
● #040fa8 color description : Dark blue.
#040fa8 Color Conversion
The hexadecimal color #040fa8 has RGB values of R:4, G:15, B:168 and CMYK values of C:0.98, M:0.91, Y:0, K:0.34. Its decimal value is 266152.
Hex triplet | 040fa8 | #040fa8 |
---|---|---|
RGB Decimal | 4, 15, 168 | rgb(4,15,168) |
RGB Percent | 1.6, 5.9, 65.9 | rgb(1.6%,5.9%,65.9%) |
CMYK | 98, 91, 0, 34 | |
HSL | 236°, 95.3, 33.7 | hsl(236,95.3%,33.7%) |
HSV (or HSB) | 236°, 97.6, 65.9 | |
Web Safe | 000099 | #000099 |
CIE-LAB | 20.805, 53.771, -76.455 |
---|---|
XYZ | 7.287, 3.194, 37.276 |
xyY | 0.153, 0.067, 3.194 |
CIE-LCH | 20.805, 93.47, 305.119 |
CIE-LUV | 20.805, -6.307, -80.119 |
Hunter-Lab | 17.872, 41.509, -111.153 |
Binary | 00000100, 00001111, 10101000 |
Color Schemes with #040fa8
Alternatives to #040fa8
Below, you can see some colors close to #040fa8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040fa8 Preview
This text has a font color of #040fa8.
<span style="color:#040fa8;">Text here</span>
This paragraph has a background color of #040fa8.
<p style="background-color:#040fa8;">Content here</p>
This element has a border color of #040fa8.
<div style="border:1px solid #040fa8;">Content here</div>
.text {color:#040fa8;}
.background {background-color:#040fa8;}
.border {border:1px solid #040fa8;}
Shades and Tints of #040fa8
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, #00010f is the darkest color, while #fbfbff is the lightest one.
-
#00010f
#00010f
rgb(0,1,15)
-
#010322
#010322
rgb(1,3,34)
-
#010535
#010535
rgb(1,5,53)
-
#020648
#020648
rgb(2,6,72)
-
#02085b
#02085b
rgb(2,8,91)
-
#030a6f
#030a6f
rgb(3,10,111)
-
#030c82
#030c82
rgb(3,12,130)
-
#040d95
#040d95
rgb(4,13,149)
-
#040fa8
#040fa8
rgb(4,15,168)
-
#0411bb
#0411bb
rgb(4,17,187)
-
#0512ce
#0512ce
rgb(5,18,206)
-
#0514e1
#0514e1
rgb(5,20,225)
-
#0616f5
#0616f5
rgb(6,22,245)
-
#1524f9
#1524f9
rgb(21,36,249)
-
#2836fa
#2836fa
rgb(40,54,250)
-
#3b48fa
#3b48fa
rgb(59,72,250)
-
#4e5afb
#4e5afb
rgb(78,90,251)
-
#616cfb
#616cfb
rgb(97,108,251)
-
#747efc
#747efc
rgb(116,126,252)
-
#888ffc
#888ffc
rgb(136,143,252)
-
#9ba1fd
#9ba1fd
rgb(155,161,253)
-
#aeb3fd
#aeb3fd
rgb(174,179,253)
-
#c1c5fe
#c1c5fe
rgb(193,197,254)
-
#d4d7fe
#d4d7fe
rgb(212,215,254)
-
#e7e9fe
#e7e9fe
rgb(231,233,254)
-
#fbfbff
#fbfbff
rgb(251,251,255)
Tones of #040fa8
A tone is produced by adding gray to any pure hue. In this case, #535459 is the less saturated color, while #040fa8 is the most saturated one.
-
#535459
#535459
rgb(83,84,89)
-
#4d4e5f
#4d4e5f
rgb(77,78,95)
-
#464866
#464866
rgb(70,72,102)
-
#40436c
#40436c
rgb(64,67,108)
-
#393d73
#393d73
rgb(57,61,115)
-
#32377a
#32377a
rgb(50,55,122)
-
#2c3180
#2c3180
rgb(44,49,128)
-
#252c87
#252c87
rgb(37,44,135)
-
#1e268e
#1e268e
rgb(30,38,142)
-
#182094
#182094
rgb(24,32,148)
-
#111a9b
#111a9b
rgb(17,26,155)
-
#0b15a1
#0b15a1
rgb(11,21,161)
-
#040fa8
#040fa8
rgb(4,15,168)
Color Blindness Simulator
Below, you can see how #040fa8 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.