#0c0c8a Color Information

In a RGB color space, hex #0c0c8a is composed of 4.7% red, 4.7% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 91.3% cyan, 91.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 240 degrees, a saturation of 84% and a lightness of 29.4%. #0c0c8a color hex could be obtained by blending #1818ff with #000015. Closest websafe color is: #000099.

    • R 5
    • G 5
    • B 54
    RGB color chart
    • C 91
    • M 91
    • Y 0
    • K 46
    CMYK color chart

#0c0c8a color description : Dark blue.

#0c0c8a Color Conversion

The hexadecimal color #0c0c8a has RGB values of R:12, G:12, B:138 and CMYK values of C:0.91, M:0.91, Y:0, K:0.46. Its decimal value is 789642.

Hex triplet 0c0c8a #0c0c8a
RGB Decimal 12, 12, 138 rgb(12,12,138)
RGB Percent 4.7, 4.7, 54.1 rgb(4.7%,4.7%,54.1%)
CMYK 91, 91, 0, 46
HSL 240°, 84, 29.4 hsl(240,84%,29.4%)
HSV (or HSB) 240°, 91.3, 54.1
Web Safe 000099 #000099
CIE-LAB 16.384, 46.12, -65.325
XYZ 4.87, 2.176, 24.207
xyY 0.156, 0.07, 2.176
CIE-LCH 16.384, 79.965, 305.222
CIE-LUV 16.384, -4.465, -61.878
Hunter-Lab 14.75, 33.116, -86.975
Binary 00001100, 00001100, 10001010

Color Schemes with #0c0c8a

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

Alternatives to #0c0c8a

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

Similar Colors

#0c0c8a Preview

Text with hexadecimal color #0c0c8a

This text has a font color of #0c0c8a.

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

This paragraph has a background color of #0c0c8a.

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

This element has a border color of #0c0c8a.

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

Shades and Tints of #0c0c8a

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 #f9f9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c0c8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0c8a 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
  • #1a1a1a Achromatopsia 0.005% of the population
  • #171730 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003261 Protanopia 1% of men
  • #003554 Deuteranopia 1% of men
  • #00383b Tritanopia 0.001% of the population
Trichromacy
  • #042470 Protanomaly 1% of men, 0.01% of women
  • #042667 Deuteranomaly 6% of men, 0.4% of women
  • #042857 Tritanomaly 0.01% of the population