#0c0cec Color Information

In a RGB color space, hex #0c0cec is composed of 4.7% red, 4.7% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 94.9% cyan, 94.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 240 degrees, a saturation of 90.3% and a lightness of 48.6%. #0c0cec color hex could be obtained by blending #1818ff with #0000d9. Closest websafe color is: #0000ff.

    • R 5
    • G 5
    • B 93
    RGB color chart
    • C 95
    • M 95
    • Y 0
    • K 7
    CMYK color chart

#0c0cec color description : Vivid blue.

#0c0cec Color Conversion

The hexadecimal color #0c0cec has RGB values of R:12, G:12, B:236 and CMYK values of C:0.95, M:0.95, Y:0, K:0.07. Its decimal value is 789740.

Hex triplet 0c0cec #0c0cec
RGB Decimal 12, 12, 236 rgb(12,12,236)
RGB Percent 4.7, 4.7, 92.5 rgb(4.7%,4.7%,92.5%)
CMYK 95, 95, 0, 7
HSL 240°, 90.3, 48.6 hsl(240,90.3%,48.6%)
HSV (or HSB) 240°, 94.9, 92.5
Web Safe 0000ff #0000ff
CIE-LAB 30.39, 72.744, -100.317
XYZ 15.42, 6.396, 79.774
xyY 0.152, 0.063, 6.396
CIE-LCH 30.39, 123.916, 305.947
CIE-LUV 30.39, -8.672, -120.177
Hunter-Lab 25.29, 64.579, -169.317
Binary 00001100, 00001100, 11101100

Color Schemes with #0c0cec

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #0c0cec

Below, you can see some colors close to #0c0cec. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#0c0cec Preview

Text with hexadecimal color #0c0cec

This text has a font color of #0c0cec.

<span style="color:#0c0cec;">Text here</span>
#0c0cec background color

This paragraph has a background color of #0c0cec.

<p style="background-color:#0c0cec;">Content here</p>
#0c0cec border color

This element has a border color of #0c0cec.

<div style="border:1px solid #0c0cec;">Content here</div>
CSS codes
.text {color:#0c0cec;}
.background {background-color:#0c0cec;}
.border {border:1px solid #0c0cec;}

Shades and Tints of #0c0cec

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, #01010c is the darkest color, while #f8f8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0cec

A tone is produced by adding gray to any pure hue. In this case, #757583 is the less saturated color, while #0202f6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0cec 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.

  • #262626 Achromatopsia 0.005% of the population
  • #21214e Atypical Achromatopsia 0.001% of the population
  • #004e98 Protanopia 1% of men
  • #005383 Deuteranopia 1% of men
  • #00595c Tritanopia 0.001% of the population
  • #0436b7 Protanomaly 1% of men, 0.01% of women
  • #0439a9 Deuteranomaly 6% of men, 0.4% of women
  • #043d90 Tritanomaly 0.01% of the population