#040caf Color Information
In a RGB color space, hex #040caf is composed of 1.6% red, 4.7% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 97.7% cyan, 93.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 237.2 degrees, a saturation of 95.5% and a lightness of 35.1%. #040caf color hex could be obtained by blending #0818ff with #00005f. Closest websafe color is: #000099.
-
- R 2
- G 5
- B 69
-
- C 98
- M 93
- Y 0
- K 31
● #040caf color description : Dark blue.
#040caf Color Conversion
The hexadecimal color #040caf has RGB values of R:4, G:12, B:175 and CMYK values of C:0.98, M:0.93, Y:0, K:0.31. Its decimal value is 265391.
| Hex triplet | 040caf | #040caf |
|---|---|---|
| RGB Decimal | 4, 12, 175 | rgb(4,12,175) |
| RGB Percent | 1.6, 4.7, 68.6 | rgb(1.6%,4.7%,68.6%) |
| CMYK | 98, 93, 0, 31 | |
| HSL | 237.2°, 95.5, 35.1 | hsl(237.2,95.5%,35.1%) |
| HSV (or HSB) | 237.2°, 97.7, 68.6 | |
| Web Safe | 000099 | #000099 |
| CIE-LAB | 21.518, 56.656, -79.492 |
|---|---|
| XYZ | 7.918, 3.383, 40.791 |
| xyY | 0.152, 0.065, 3.383 |
| CIE-LCH | 21.518, 97.615, 305.478 |
| CIE-LUV | 21.518, -6.405, -83.96 |
| Hunter-Lab | 18.394, 44.649, -118.609 |
| Binary | 00000100, 00001100, 10101111 |
Color Schemes with #040caf
Alternatives to #040caf
Below, you can see some colors close to #040caf. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040caf Preview
This text has a font color of #040caf.
<span style="color:#040caf;">Text here</span>
This paragraph has a background color of #040caf.
<p style="background-color:#040caf;">Content here</p>
This element has a border color of #040caf.
<div style="border:1px solid #040caf;">Content here</div>
.text {color:#040caf;}
.background {background-color:#040caf;}
.border {border:1px solid #040caf;}
Shades and Tints of #040caf
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) -
#000116
#000116rgb(0,1,22) -
#010329
#010329rgb(1,3,41) -
#01043c
#01043crgb(1,4,60) -
#02054f
#02054frgb(2,5,79) -
#020762
#020762rgb(2,7,98) -
#030875
#030875rgb(3,8,117) -
#030989
#030989rgb(3,9,137) -
#040b9c
#040b9crgb(4,11,156) -
#040caf
#040cafrgb(4,12,175) -
#040dc2
#040dc2rgb(4,13,194) -
#050fd5
#050fd5rgb(5,15,213) -
#0510e9
#0510e9rgb(5,16,233)
-
#0813f9
#0813f9rgb(8,19,249) -
#1b26fa
#1b26fargb(27,38,250) -
#2e38fa
#2e38fargb(46,56,250) -
#424afb
#424afbrgb(66,74,251) -
#555dfb
#555dfbrgb(85,93,251) -
#686ffc
#686ffcrgb(104,111,252) -
#7b81fc
#7b81fcrgb(123,129,252) -
#8e93fc
#8e93fcrgb(142,147,252) -
#a2a6fd
#a2a6fdrgb(162,166,253) -
#b5b8fd
#b5b8fdrgb(181,184,253) -
#c8cafe
#c8cafergb(200,202,254) -
#dbddfe
#dbddfergb(219,221,254) -
#eeefff
#eeefffrgb(238,239,255)
Tones of #040caf
A tone is produced by adding gray to any pure hue. In this case, #57575c is the less saturated color, while #040caf is the most saturated one.
-
#57575c
#57575crgb(87,87,92) -
#505163
#505163rgb(80,81,99) -
#494a6a
#494a6argb(73,74,106) -
#424471
#424471rgb(66,68,113) -
#3b3e78
#3b3e78rgb(59,62,120) -
#34387f
#34387frgb(52,56,127) -
#2d3186
#2d3186rgb(45,49,134) -
#262b8d
#262b8drgb(38,43,141) -
#202593
#202593rgb(32,37,147) -
#191f9a
#191f9argb(25,31,154) -
#1218a1
#1218a1rgb(18,24,161) -
#0b12a8
#0b12a8rgb(11,18,168) -
#040caf
#040cafrgb(4,12,175)
Color Blindness Simulator
Below, you can see how #040caf 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.
