#0c0c8c Color Information

In a RGB color space, hex #0c0c8c is composed of 4.7% red, 4.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 91.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 240 degrees, a saturation of 84.2% and a lightness of 29.8%. #0c0c8c color hex could be obtained by blending #1818ff with #000019. Closest websafe color is: #000099.

    • R 5
    • G 5
    • B 55
    RGB color chart
    • C 91
    • M 91
    • Y 0
    • K 45
    CMYK color chart

#0c0c8c color description : Dark blue.

#0c0c8c Color Conversion

The hexadecimal color #0c0c8c has RGB values of R:12, G:12, B:140 and CMYK values of C:0.91, M:0.91, Y:0, K:0.45. Its decimal value is 789644.

Hex triplet 0c0c8c #0c0c8c
RGB Decimal 12, 12, 140 rgb(12,12,140)
RGB Percent 4.7, 4.7, 54.9 rgb(4.7%,4.7%,54.9%)
CMYK 91, 91, 0, 45
HSL 240°, 84.2, 29.8 hsl(240,84.2%,29.8%)
HSV (or HSB) 240°, 91.4, 54.9
Web Safe 000099 #000099
CIE-LAB 16.671, 46.72, -66.1
XYZ 5.016, 2.234, 24.976
xyY 0.156, 0.069, 2.234
CIE-LCH 16.671, 80.944, 305.253
CIE-LUV 16.671, -4.553, -63.091
Hunter-Lab 14.947, 33.741, -88.609
Binary 00001100, 00001100, 10001100

Color Schemes with #0c0c8c

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

Alternatives to #0c0c8c

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

Similar Colors

#0c0c8c Preview

Text with hexadecimal color #0c0c8c

This text has a font color of #0c0c8c.

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

This paragraph has a background color of #0c0c8c.

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

This element has a border color of #0c0c8c.

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

Shades and Tints of #0c0c8c

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

Shade Color Variation
Tint Color Variation

Tones of #0c0c8c

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

Tone Color Variation

Color Blindness Simulator

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

  • #1b1b1b Achromatopsia 0.005% of the population
  • #181832 Atypical Achromatopsia 0.001% of the population
  • #003262 Protanopia 1% of men
  • #003555 Deuteranopia 1% of men
  • #00393b Tritanopia 0.001% of the population
  • #042471 Protanomaly 1% of men, 0.01% of women
  • #042669 Deuteranomaly 6% of men, 0.4% of women
  • #042959 Tritanomaly 0.01% of the population