#040cf2 hex color
In a RGB color space, hex #040cf2 is composed of 1.6% red, 4.7% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 98.3% cyan, 95% magenta, 0% yellow and 5.1% black. It has a hue angle of 238 degrees, a saturation of 96.7% and a lightness of 48.2%. #040cf2 color hex could be obtained by blending #0818ff with #0000e5. Closest websafe color is: #0000ff.
-
- R 2
- G 5
- B 95
RGB color chart
-
- C 98
- M 95
- Y 0
- K 5
CMYK color chart
● #040cf2 color description : Vivid blue.
The hexadecimal color #040cf2 has RGB values of R:4, G:12, B:242 and CMYK values of C:0.98, M:0.95, Y:0, K:0.05. Its decimal value is 265458.
Hex triplet | 040cf2 | #040cf2 |
---|---|---|
RGB Decimal | 4, 12, 242 | rgb(4,12,242) |
RGB Percent | 1.6, 4.7, 94.9 | rgb(1.6%,4.7%,94.9%) |
CMYK | 98, 95, 0, 5 | |
HSL | 238°, 96.7, 48.2 | hsl(238,96.7%,48.2%) |
HSV (or HSB) | 238°, 98.3, 94.9 | |
Web Safe | 0000ff | #0000ff |
CIE-LAB | 31.11, 74.193, -102.524 |
---|---|
XYZ | 16.205, 6.698, 84.438 |
xyY | 0.151, 0.062, 6.698 |
CIE-LCH | 31.11, 126.554, 305.892 |
CIE-LUV | 31.11, -9.158, -123.514 |
Hunter-Lab | 25.881, 66.476, -175.32 |
Binary | 00000100, 00001100, 11110010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #040cf2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #040cf2
This text has a font color of #040cf2.
<span style="color:#040cf2;">Text here</span>
#040cf2 background color
This paragraph has a background color of #040cf2.
<p style="background-color:#040cf2;">Content here</p>
#040cf2 border color
This element has a border color of #040cf2.
<div style="border:1px solid #040cf2;">Content here</div>
CSS codes
.text {color:#040cf2;}
.background {background-color:#040cf2;}
.border {border:1px solid #040cf2;}
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, #00010a is the darkest color, while #f6f6ff is the lightest one.
-
#00010a
#00010a
rgb(0,1,10)
-
#00011e
#00011e
rgb(0,1,30)
-
#010231
#010231
rgb(1,2,49)
-
#010344
#010344
rgb(1,3,68)
-
#010458
#010458
rgb(1,4,88)
-
#02056b
#02056b
rgb(2,5,107)
-
#02067e
#02067e
rgb(2,6,126)
-
#020792
#020792
rgb(2,7,146)
-
#0308a5
#0308a5
rgb(3,8,165)
-
#0309b8
#0309b8
rgb(3,9,184)
-
#030acb
#030acb
rgb(3,10,203)
-
#040bdf
#040bdf
rgb(4,11,223)
-
#040cf2
#040cf2
rgb(4,12,242)
Shade Color Variation
-
#0f17fb
#0f17fb
rgb(15,23,251)
-
#2229fb
#2229fb
rgb(34,41,251)
-
#353cfc
#353cfc
rgb(53,60,252)
-
#484ffc
#484ffc
rgb(72,79,252)
-
#5c61fc
#5c61fc
rgb(92,97,252)
-
#6f74fd
#6f74fd
rgb(111,116,253)
-
#8286fd
#8286fd
rgb(130,134,253)
-
#9699fd
#9699fd
rgb(150,153,253)
-
#a9acfe
#a9acfe
rgb(169,172,254)
-
#bcbefe
#bcbefe
rgb(188,190,254)
-
#d0d1fe
#d0d1fe
rgb(208,209,254)
-
#e3e4ff
#e3e4ff
rgb(227,228,255)
-
#f6f6ff
#f6f6ff
rgb(246,246,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #767680 is the less saturated color, while #040cf2 is the most saturated one.
-
#767680
#767680
rgb(118,118,128)
-
#6c6d8a
#6c6d8a
rgb(108,109,138)
-
#636493
#636493
rgb(99,100,147)
-
#595b9d
#595b9d
rgb(89,91,157)
-
#5053a6
#5053a6
rgb(80,83,166)
-
#464ab0
#464ab0
rgb(70,74,176)
-
#3d41b9
#3d41b9
rgb(61,65,185)
-
#3338c3
#3338c3
rgb(51,56,195)
-
#2a2fcc
#2a2fcc
rgb(42,47,204)
-
#2026d6
#2026d6
rgb(32,38,214)
-
#171edf
#171edf
rgb(23,30,223)
-
#0d15e9
#0d15e9
rgb(13,21,233)
-
#040cf2
#040cf2
rgb(4,12,242)
Tone Color Variation
Below, you can see how #040cf2 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.
Monochromacy
Dichromacy