#0c0c31 Color Information

In a RGB color space, hex #0c0c31 is composed of 4.7% red, 4.7% green and 19.2% blue. Whereas in a CMYK color space, it is composed of 75.5% cyan, 75.5% magenta, 0% yellow and 80.8% black. It has a hue angle of 240 degrees, a saturation of 60.7% and a lightness of 12%. #0c0c31 color hex could be obtained by blending #181862 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 5
    • B 19
    RGB color chart
    • C 76
    • M 76
    • Y 0
    • K 81
    CMYK color chart

#0c0c31 color description : Very dark (mostly black) blue.

#0c0c31 Color Conversion

The hexadecimal color #0c0c31 has RGB values of R:12, G:12, B:49 and CMYK values of C:0.76, M:0.76, Y:0, K:0.81. Its decimal value is 789553.

Hex triplet 0c0c31 #0c0c31
RGB Decimal 12, 12, 49 rgb(12,12,49)
RGB Percent 4.7, 4.7, 19.2 rgb(4.7%,4.7%,19.2%)
CMYK 76, 76, 0, 81
HSL 240°, 60.7, 12 hsl(240,60.7%,12%)
HSV (or HSB) 240°, 75.5, 19.2
Web Safe 000033 #000033
CIE-LAB 5.084, 12.388, -23.853
XYZ 0.837, 0.563, 2.97
xyY 0.192, 0.129, 0.563
CIE-LCH 5.084, 26.878, 297.445
CIE-LUV 5.084, -0.906, -12.548
Hunter-Lab 7.502, 6.795, -18.221
Binary 00001100, 00001100, 00110001

Color Schemes with #0c0c31

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

Alternatives to #0c0c31

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

Similar Colors

#0c0c31 Preview

Text with hexadecimal color #0c0c31

This text has a font color of #0c0c31.

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

This paragraph has a background color of #0c0c31.

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

This element has a border color of #0c0c31.

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

Shades and Tints of #0c0c31

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, #000002 is the darkest color, while #f1f1fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0c31

A tone is produced by adding gray to any pure hue. In this case, #1c1c21 is the less saturated color, while #00003d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #101010 Achromatopsia 0.005% of the population
  • #0f0f17 Atypical Achromatopsia 0.001% of the population
  • #001c37 Protanopia 1% of men
  • #001e30 Deuteranopia 1% of men
  • #002022 Tritanopia 0.001% of the population
  • #041635 Protanomaly 1% of men, 0.01% of women
  • #041730 Deuteranomaly 6% of men, 0.4% of women
  • #041827 Tritanomaly 0.01% of the population