#040cec Color Information
In a RGB color space, hex #040cec is composed of 1.6% red, 4.7% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 94.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 237.9 degrees, a saturation of 96.7% and a lightness of 47.1%. #040cec color hex could be obtained by blending #0818ff with #0000d9. Closest websafe color is: #0000ff.
-
- R 2
- G 5
- B 93
-
- C 98
- M 95
- Y 0
- K 7
● #040cec color description : Vivid blue.
#040cec Color Conversion
The hexadecimal color #040cec has RGB values of R:4, G:12, B:236 and CMYK values of C:0.98, M:0.95, Y:0, K:0.07. Its decimal value is 265452.
Hex triplet | 040cec | #040cec |
---|---|---|
RGB Decimal | 4, 12, 236 | rgb(4,12,236) |
RGB Percent | 1.6, 4.7, 92.5 | rgb(1.6%,4.7%,92.5%) |
CMYK | 98, 95, 0, 7 | |
HSL | 237.9°, 96.7, 47.1 | hsl(237.9,96.7%,47.1%) |
HSV (or HSB) | 237.9°, 98.3, 92.5 | |
Web Safe | 0000ff | #0000ff |
CIE-LAB | 30.263, 72.691, -100.532 |
---|---|
XYZ | 15.319, 6.344, 79.769 |
xyY | 0.151, 0.063, 6.344 |
CIE-LCH | 30.263, 124.059, 305.869 |
CIE-LUV | 30.263, -8.914, -120.039 |
Hunter-Lab | 25.187, 64.489, -170.148 |
Binary | 00000100, 00001100, 11101100 |
Color Schemes with #040cec
Alternatives to #040cec
Below, you can see some colors close to #040cec. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#040cec Preview
This text has a font color of #040cec.
<span style="color:#040cec;">Text here</span>
This paragraph has a background color of #040cec.
<p style="background-color:#040cec;">Content here</p>
This element has a border color of #040cec.
<div style="border:1px solid #040cec;">Content here</div>
.text {color:#040cec;}
.background {background-color:#040cec;}
.border {border:1px solid #040cec;}
Shades and Tints of #040cec
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 #f0f1ff is the lightest one.
-
#000005
#000005
rgb(0,0,5)
-
#000118
#000118
rgb(0,1,24)
-
#01022b
#01022b
rgb(1,2,43)
-
#01033e
#01033e
rgb(1,3,62)
-
#010452
#010452
rgb(1,4,82)
-
#020565
#020565
rgb(2,5,101)
-
#020678
#020678
rgb(2,6,120)
-
#02078c
#02078c
rgb(2,7,140)
-
#03089f
#03089f
rgb(3,8,159)
-
#0309b2
#0309b2
rgb(3,9,178)
-
#030ac5
#030ac5
rgb(3,10,197)
-
#040bd9
#040bd9
rgb(4,11,217)
-
#040cec
#040cec
rgb(4,12,236)
-
#0911fb
#0911fb
rgb(9,17,251)
-
#1c24fb
#1c24fb
rgb(28,36,251)
-
#2f36fb
#2f36fb
rgb(47,54,251)
-
#4349fc
#4349fc
rgb(67,73,252)
-
#565cfc
#565cfc
rgb(86,92,252)
-
#696efc
#696efc
rgb(105,110,252)
-
#7d81fd
#7d81fd
rgb(125,129,253)
-
#9094fd
#9094fd
rgb(144,148,253)
-
#a3a6fd
#a3a6fd
rgb(163,166,253)
-
#b6b9fe
#b6b9fe
rgb(182,185,254)
-
#cacbfe
#cacbfe
rgb(202,203,254)
-
#dddefe
#dddefe
rgb(221,222,254)
-
#f0f1ff
#f0f1ff
rgb(240,241,255)
Tones of #040cec
A tone is produced by adding gray to any pure hue. In this case, #73737d is the less saturated color, while #040cec is the most saturated one.
-
#73737d
#73737d
rgb(115,115,125)
-
#6a6b86
#6a6b86
rgb(106,107,134)
-
#606290
#606290
rgb(96,98,144)
-
#575999
#575999
rgb(87,89,153)
-
#4e51a2
#4e51a2
rgb(78,81,162)
-
#4548ab
#4548ab
rgb(69,72,171)
-
#3b40b5
#3b40b5
rgb(59,64,181)
-
#3237be
#3237be
rgb(50,55,190)
-
#292ec7
#292ec7
rgb(41,46,199)
-
#2026d0
#2026d0
rgb(32,38,208)
-
#161dda
#161dda
rgb(22,29,218)
-
#0d15e3
#0d15e3
rgb(13,21,227)
-
#040cec
#040cec
rgb(4,12,236)
Color Blindness Simulator
Below, you can see how #040cec 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.