#040cff Color Information
In a RGB color space, hex #040cff is composed of 1.6% red, 4.7% green and 100% blue. Whereas in a CMYK color space, it is composed of 98.4% cyan, 95.3% magenta, 0% yellow and 0% black. It has a hue angle of 238.1 degrees, a saturation of 100% and a lightness of 50.8%. #040cff color hex could be obtained by blending #0818ff with #0000ff. Closest websafe color is: #0000ff.
-
- R 2
- G 5
- B 100
-
- C 98
- M 95
- Y 0
- K 0
● #040cff color description : Vivid blue.
#040cff Color Conversion
The hexadecimal color #040cff has RGB values of R:4, G:12, B:255 and CMYK values of C:0.98, M:0.95, Y:0, K:0. Its decimal value is 265471.
| Hex triplet | 040cff | #040cff |
|---|---|---|
| RGB Decimal | 4, 12, 255 | rgb(4,12,255) |
| RGB Percent | 1.6, 4.7, 100 | rgb(1.6%,4.7%,100%) |
| CMYK | 98, 95, 0, 0 | |
| HSL | 238.1°, 100, 50.8 | hsl(238.1,100%,50.8%) |
| HSV (or HSB) | 238.1°, 98.4, 100 | |
| Web Safe | 0000ff | #0000ff |
| CIE-LAB | 32.935, 77.412, -106.801 |
|---|---|
| XYZ | 18.228, 7.507, 95.091 |
| xyY | 0.151, 0.062, 7.507 |
| CIE-LCH | 32.935, 131.905, 305.936 |
| CIE-LUV | 32.935, -9.684, -130.999 |
| Hunter-Lab | 27.399, 70.801, -186.588 |
| Binary | 00000100, 00001100, 11111111 |
Color Schemes with #040cff
Alternatives to #040cff
Below, you can see some colors close to #040cff. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040cff Preview
This text has a font color of #040cff.
<span style="color:#040cff;">Text here</span>
This paragraph has a background color of #040cff.
<p style="background-color:#040cff;">Content here</p>
This element has a border color of #040cff.
<div style="border:1px solid #040cff;">Content here</div>
.text {color:#040cff;}
.background {background-color:#040cff;}
.border {border:1px solid #040cff;}
Shades and Tints of #040cff
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, #000004 is the darkest color, while #eff0ff is the lightest one.
-
#000004
#000004rgb(0,0,4) -
#000118
#000118rgb(0,1,24) -
#00012b
#00012brgb(0,1,43) -
#00023f
#00023frgb(0,2,63) -
#000352
#000352rgb(0,3,82) -
#000366
#000366rgb(0,3,102) -
#00047a
#00047argb(0,4,122) -
#00058d
#00058drgb(0,5,141) -
#0005a1
#0005a1rgb(0,5,161) -
#0006b5
#0006b5rgb(0,6,181) -
#0006c8
#0006c8rgb(0,6,200) -
#0007dc
#0007dcrgb(0,7,220) -
#0008ef
#0008efrgb(0,8,239)
-
#040cff
#040cffrgb(4,12,255) -
#181fff
#181fffrgb(24,31,255) -
#2b32ff
#2b32ffrgb(43,50,255) -
#3f45ff
#3f45ffrgb(63,69,255) -
#5258ff
#5258ffrgb(82,88,255) -
#666bff
#666bffrgb(102,107,255) -
#7a7eff
#7a7effrgb(122,126,255) -
#8d91ff
#8d91ffrgb(141,145,255) -
#a1a4ff
#a1a4ffrgb(161,164,255) -
#b5b7ff
#b5b7ffrgb(181,183,255) -
#c8caff
#c8caffrgb(200,202,255) -
#dcddff
#dcddffrgb(220,221,255) -
#eff0ff
#eff0ffrgb(239,240,255)
Tones of #040cff
A tone is produced by adding gray to any pure hue. In this case, #78788b is the less saturated color, while #040cff is the most saturated one.
-
#78788b
#78788brgb(120,120,139) -
#6e6f95
#6e6f95rgb(110,111,149) -
#65669e
#65669ergb(101,102,158) -
#5b5da8
#5b5da8rgb(91,93,168) -
#5154b2
#5154b2rgb(81,84,178) -
#484bbb
#484bbbrgb(72,75,187) -
#3e42c5
#3e42c5rgb(62,66,197) -
#3439cf
#3439cfrgb(52,57,207) -
#2b30d8
#2b30d8rgb(43,48,216) -
#2127e2
#2127e2rgb(33,39,226) -
#171eec
#171eecrgb(23,30,236) -
#0e15f5
#0e15f5rgb(14,21,245) -
#040cff
#040cffrgb(4,12,255)
Color Blindness Simulator
Below, you can see how #040cff 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.
