#0c0f8b Color Information

In a RGB color space, hex #0c0f8b is composed of 4.7% red, 5.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 89.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 238.6 degrees, a saturation of 84.1% and a lightness of 29.6%. #0c0f8b color hex could be obtained by blending #181eff with #000017. Closest websafe color is: #000099.

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

#0c0f8b color description : Dark blue.

#0c0f8b Color Conversion

The hexadecimal color #0c0f8b has RGB values of R:12, G:15, B:139 and CMYK values of C:0.91, M:0.89, Y:0, K:0.45. Its decimal value is 790411.

Hex triplet 0c0f8b #0c0f8b
RGB Decimal 12, 15, 139 rgb(12,15,139)
RGB Percent 4.7, 5.9, 54.5 rgb(4.7%,5.9%,54.5%)
CMYK 91, 89, 0, 45
HSL 238.6°, 84.1, 29.6 hsl(238.6,84.1%,29.6%)
HSV (or HSB) 238.6°, 91.4, 54.5
Web Safe 000099 #000099
CIE-LAB 16.91, 45.266, -65.075
XYZ 4.982, 2.284, 24.603
xyY 0.156, 0.072, 2.284
CIE-LCH 16.91, 79.27, 304.822
CIE-LUV 16.91, -4.74, -62.988
Hunter-Lab 15.111, 32.401, -85.953
Binary 00001100, 00001111, 10001011

Color Schemes with #0c0f8b

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

Alternatives to #0c0f8b

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

Similar Colors

#0c0f8b Preview

Text with hexadecimal color #0c0f8b

This text has a font color of #0c0f8b.

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

This paragraph has a background color of #0c0f8b.

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

This element has a border color of #0c0f8b.

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

Shades and Tints of #0c0f8b

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

Shade Color Variation
Tint Color Variation

Tones of #0c0f8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c0f8b 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
  • #191932 Atypical Achromatopsia 0.001% of the population
  • #003363 Protanopia 1% of men
  • #003655 Deuteranopia 1% of men
  • #003a3c Tritanopia 0.001% of the population
  • #042671 Protanomaly 1% of men, 0.01% of women
  • #042869 Deuteranomaly 6% of men, 0.4% of women
  • #042a59 Tritanomaly 0.01% of the population