#0c0c9a Color Information

In a RGB color space, hex #0c0c9a is composed of 4.7% red, 4.7% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 92.2% cyan, 92.2% magenta, 0% yellow and 39.6% black. It has a hue angle of 240 degrees, a saturation of 85.5% and a lightness of 32.5%. #0c0c9a color hex could be obtained by blending #1818ff with #000035. Closest websafe color is: #000099.

    • R 5
    • G 5
    • B 60
    RGB color chart
    • C 92
    • M 92
    • Y 0
    • K 40
    CMYK color chart

#0c0c9a color description : Dark blue.

#0c0c9a Color Conversion

The hexadecimal color #0c0c9a has RGB values of R:12, G:12, B:154 and CMYK values of C:0.92, M:0.92, Y:0, K:0.4. Its decimal value is 789658.

Hex triplet 0c0c9a #0c0c9a
RGB Decimal 12, 12, 154 rgb(12,12,154)
RGB Percent 4.7, 4.7, 60.4 rgb(4.7%,4.7%,60.4%)
CMYK 92, 92, 0, 40
HSL 240°, 85.5, 32.5 hsl(240,85.5%,32.5%)
HSV (or HSB) 240°, 92.2, 60.4
Web Safe 000099 #000099
CIE-LAB 18.687, 50.834, -71.432
XYZ 6.115, 2.674, 30.764
xyY 0.155, 0.068, 2.674
CIE-LCH 18.687, 87.674, 305.437
CIE-LUV 18.687, -5.164, -71.568
Hunter-Lab 16.352, 38.135, -100.102
Binary 00001100, 00001100, 10011010

Color Schemes with #0c0c9a

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

Alternatives to #0c0c9a

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

Similar Colors

#0c0c9a Preview

Text with hexadecimal color #0c0c9a

This text has a font color of #0c0c9a.

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

This paragraph has a background color of #0c0c9a.

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

This element has a border color of #0c0c9a.

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

Shades and Tints of #0c0c9a

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

Shade Color Variation
Tint Color Variation

Tones of #0c0c9a

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

Tone Color Variation

Color Blindness Simulator

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

  • #1c1c1c Achromatopsia 0.005% of the population
  • #191935 Atypical Achromatopsia 0.001% of the population
  • #00366a Protanopia 1% of men
  • #003a5b Deuteranopia 1% of men
  • #003e40 Tritanopia 0.001% of the population
  • #04277b Protanomaly 1% of men, 0.01% of women
  • #042972 Deuteranomaly 6% of men, 0.4% of women
  • #042b61 Tritanomaly 0.01% of the population