#040faf Color Information
In a RGB color space, hex #040faf is composed of 1.6% red, 5.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 91.4% magenta, 0% yellow and 31.4% black. It has a hue angle of 236.1 degrees, a saturation of 95.5% and a lightness of 35.1%. #040faf color hex could be obtained by blending #081eff with #00005f. Closest websafe color is: #000099.
-
- R 2
- G 6
- B 69
-
- C 98
- M 91
- Y 0
- K 31
● #040faf color description : Dark blue.
#040faf Color Conversion
The hexadecimal color #040faf has RGB values of R:4, G:15, B:175 and CMYK values of C:0.98, M:0.91, Y:0, K:0.31. Its decimal value is 266159.
| Hex triplet | 040faf | #040faf |
|---|---|---|
| RGB Decimal | 4, 15, 175 | rgb(4,15,175) |
| RGB Percent | 1.6, 5.9, 68.6 | rgb(1.6%,5.9%,68.6%) |
| CMYK | 98, 91, 0, 31 | |
| HSL | 236.1°, 95.5, 35.1 | hsl(236.1,95.5%,35.1%) |
| HSV (or HSB) | 236.1°, 97.7, 68.6 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 21.806, 55.772, -79.009 |
|---|---|
| XYZ | 7.957, 3.462, 40.804 |
| xyY | 0.152, 0.066, 3.462 |
| CIE-LCH | 21.806, 96.711, 305.218 |
| CIE-LUV | 21.806, -6.589, -84.314 |
| Hunter-Lab | 18.606, 43.776, -116.999 |
| Binary | 00000100, 00001111, 10101111 |
Color Schemes with #040faf
Alternatives to #040faf
Below, you can see some colors close to #040faf. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040faf Preview
This text has a font color of #040faf.
<span style="color:#040faf;">Text here</span>
This paragraph has a background color of #040faf.
<p style="background-color:#040faf;">Content here</p>
This element has a border color of #040faf.
<div style="border:1px solid #040faf;">Content here</div>
.text {color:#040faf;}
.background {background-color:#040faf;}
.border {border:1px solid #040faf;}
Shades and Tints of #040faf
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, #000002 is the darkest color, while #eeefff is the lightest one.
-
#000002
#000002rgb(0,0,2) -
#000216
#000216rgb(0,2,22) -
#010329
#010329rgb(1,3,41) -
#01053c
#01053crgb(1,5,60) -
#02074f
#02074frgb(2,7,79) -
#020862
#020862rgb(2,8,98) -
#030a75
#030a75rgb(3,10,117) -
#030c89
#030c89rgb(3,12,137) -
#040d9c
#040d9crgb(4,13,156) -
#040faf
#040fafrgb(4,15,175) -
#0411c2
#0411c2rgb(4,17,194) -
#0512d5
#0512d5rgb(5,18,213) -
#0514e9
#0514e9rgb(5,20,233)
-
#0818f9
#0818f9rgb(8,24,249) -
#1b2afa
#1b2afargb(27,42,250) -
#2e3cfa
#2e3cfargb(46,60,250) -
#424efb
#424efbrgb(66,78,251) -
#5560fb
#5560fbrgb(85,96,251) -
#6871fc
#6871fcrgb(104,113,252) -
#7b83fc
#7b83fcrgb(123,131,252) -
#8e95fc
#8e95fcrgb(142,149,252) -
#a2a7fd
#a2a7fdrgb(162,167,253) -
#b5b9fd
#b5b9fdrgb(181,185,253) -
#c8cbfe
#c8cbfergb(200,203,254) -
#dbddfe
#dbddfergb(219,221,254) -
#eeefff
#eeefffrgb(238,239,255)
Tones of #040faf
A tone is produced by adding gray to any pure hue. In this case, #57575c is the less saturated color, while #040faf is the most saturated one.
-
#57575c
#57575crgb(87,87,92) -
#505163
#505163rgb(80,81,99) -
#494b6a
#494b6argb(73,75,106) -
#424571
#424571rgb(66,69,113) -
#3b3f78
#3b3f78rgb(59,63,120) -
#34397f
#34397frgb(52,57,127) -
#2d3386
#2d3386rgb(45,51,134) -
#262d8d
#262d8drgb(38,45,141) -
#202793
#202793rgb(32,39,147) -
#19219a
#19219argb(25,33,154) -
#121ba1
#121ba1rgb(18,27,161) -
#0b15a8
#0b15a8rgb(11,21,168) -
#040faf
#040fafrgb(4,15,175)
Color Blindness Simulator
Below, you can see how #040faf 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.
