#0c42ff hex color
In a RGB color space, hex #0c42ff is composed of 4.7% red, 25.9% green and 100% blue. Whereas in a CMYK color space, it is composed of 95.3% cyan, 74.1% magenta, 0% yellow and 0% black. It has a hue angle of 226.7 degrees, a saturation of 100% and a lightness of 52.4%. #0c42ff color hex could be obtained by blending #1884ff with #0000ff. Closest websafe color is: #0033ff.
-
- R 5
- G 26
- B 100
RGB color chart
-
- C 95
- M 74
- Y 0
- K 0
CMYK color chart
● #0c42ff color description : Vivid blue.
The hexadecimal color #0c42ff has RGB values of R:12, G:66, B:255 and CMYK values of C:0.95, M:0.74, Y:0, K:0. Its decimal value is 803583.
Hex triplet | 0c42ff | #0c42ff |
---|---|---|
RGB Decimal | 12, 66, 255 | rgb(12,66,255) |
RGB Percent | 4.7, 25.9, 100 | rgb(4.7%,25.9%,100%) |
CMYK | 95, 74, 0, 0 | |
HSL | 226.7°, 100, 52.4 | hsl(226.7,100%,52.4%) |
HSV (or HSB) | 226.7°, 95.3, 100 | |
Web Safe | 0033ff | #0033ff |
CIE-LAB | 39.904, 57.154, -95.194 |
---|---|
XYZ | 20.146, 11.193, 95.701 |
xyY | 0.159, 0.088, 11.193 |
CIE-LCH | 39.904, 111.034, 300.98 |
CIE-LUV | 39.904, -14.649, -132.967 |
Hunter-Lab | 33.456, 48.94, -146.181 |
Binary | 00001100, 01000010, 11111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #0c42ff. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #0c42ff
This text has a font color of #0c42ff.
<span style="color:#0c42ff;">Text here</span>
#0c42ff background color
This paragraph has a background color of #0c42ff.
<p style="background-color:#0c42ff;">Content here</p>
#0c42ff border color
This element has a border color of #0c42ff.
<div style="border:1px solid #0c42ff;">Content here</div>
CSS codes
.text {color:#0c42ff;}
.background {background-color:#0c42ff;}
.border {border:1px solid #0c42ff;}
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, #00030c is the darkest color, while #f7f9ff is the lightest one.
-
#00030c
#00030c
rgb(0,3,12)
-
#000720
#000720
rgb(0,7,32)
-
#000b33
#000b33
rgb(0,11,51)
-
#001047
#001047
rgb(0,16,71)
-
#00145a
#00145a
rgb(0,20,90)
-
#00186e
#00186e
rgb(0,24,110)
-
#001d82
#001d82
rgb(0,29,130)
-
#002195
#002195
rgb(0,33,149)
-
#0026a9
#0026a9
rgb(0,38,169)
-
#002abd
#002abd
rgb(0,42,189)
-
#002ed0
#002ed0
rgb(0,46,208)
-
#0033e4
#0033e4
rgb(0,51,228)
-
#0037f7
#0037f7
rgb(0,55,247)
Shade Color Variation
-
#0c42ff
#0c42ff
rgb(12,66,255)
-
#2051ff
#2051ff
rgb(32,81,255)
-
#3361ff
#3361ff
rgb(51,97,255)
-
#4770ff
#4770ff
rgb(71,112,255)
-
#5a7fff
#5a7fff
rgb(90,127,255)
-
#6e8eff
#6e8eff
rgb(110,142,255)
-
#829eff
#829eff
rgb(130,158,255)
-
#95adff
#95adff
rgb(149,173,255)
-
#a9bcff
#a9bcff
rgb(169,188,255)
-
#bdcbff
#bdcbff
rgb(189,203,255)
-
#d0dbff
#d0dbff
rgb(208,219,255)
-
#e4eaff
#e4eaff
rgb(228,234,255)
-
#f7f9ff
#f7f9ff
rgb(247,249,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7c808f is the less saturated color, while #0c42ff is the most saturated one.
-
#7c808f
#7c808f
rgb(124,128,143)
-
#737b98
#737b98
rgb(115,123,152)
-
#6976a2
#6976a2
rgb(105,118,162)
-
#6071ab
#6071ab
rgb(96,113,171)
-
#576cb4
#576cb4
rgb(87,108,180)
-
#4d66be
#4d66be
rgb(77,102,190)
-
#4461c7
#4461c7
rgb(68,97,199)
-
#3b5cd0
#3b5cd0
rgb(59,92,208)
-
#3157da
#3157da
rgb(49,87,218)
-
#2852e3
#2852e3
rgb(40,82,227)
-
#1f4cec
#1f4cec
rgb(31,76,236)
-
#1547f6
#1547f6
rgb(21,71,246)
-
#0c42ff
#0c42ff
rgb(12,66,255)
Tone Color Variation
Below, you can see how #0c42ff 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