#0c1f51 Color Information

In a RGB color space, hex #0c1f51 is composed of 4.7% red, 12.2% green and 31.8% blue. Whereas in a CMYK color space, it is composed of 85.2% cyan, 61.7% magenta, 0% yellow and 68.2% black. It has a hue angle of 223.5 degrees, a saturation of 74.2% and a lightness of 18.2%. #0c1f51 color hex could be obtained by blending #183ea2 with #000000. Closest websafe color is: #003366.

    • R 5
    • G 12
    • B 32
    RGB color chart
    • C 85
    • M 62
    • Y 0
    • K 68
    CMYK color chart

#0c1f51 color description : Very dark blue.

#0c1f51 Color Conversion

The hexadecimal color #0c1f51 has RGB values of R:12, G:31, B:81 and CMYK values of C:0.85, M:0.62, Y:0, K:0.68. Its decimal value is 794449.

Hex triplet 0c1f51 #0c1f51
RGB Decimal 12, 31, 81 rgb(12,31,81)
RGB Percent 4.7, 12.2, 31.8 rgb(4.7%,12.2%,31.8%)
CMYK 85, 62, 0, 68
HSL 223.5°, 74.2, 18.2 hsl(223.5,74.2%,18.2%)
HSV (or HSB) 223.5°, 85.2, 31.8
Web Safe 003366 #003366
CIE-LAB 13.544, 13.545, -32.798
XYZ 2.126, 1.652, 7.991
xyY 0.181, 0.14, 1.652
CIE-LCH 13.544, 35.485, 292.44
CIE-LUV 13.544, -5.399, -31.008
Hunter-Lab 12.853, 7.039, -27.864
Binary 00001100, 00011111, 01010001

Color Schemes with #0c1f51

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

Alternatives to #0c1f51

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

Similar Colors

#0c1f51 Preview

Text with hexadecimal color #0c1f51

This text has a font color of #0c1f51.

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

This paragraph has a background color of #0c1f51.

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

This element has a border color of #0c1f51.

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

Shades and Tints of #0c1f51

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

Shade Color Variation
Tint Color Variation

Tones of #0c1f51

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

Tone Color Variation

Color Blindness Simulator

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

  • #1f1f1f Achromatopsia 0.005% of the population
  • #1b1f29 Atypical Achromatopsia 0.001% of the population
  • #002c57 Protanopia 1% of men
  • #002f4c Deuteranopia 1% of men
  • #003235 Tritanopia 0.001% of the population
  • #042755 Protanomaly 1% of men, 0.01% of women
  • #04294e Deuteranomaly 6% of men, 0.4% of women
  • #042b3f Tritanomaly 0.01% of the population