#0c172a Color Information

In a RGB color space, hex #0c172a is composed of 4.7% red, 9% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 71.4% cyan, 45.2% magenta, 0% yellow and 83.5% black. It has a hue angle of 218 degrees, a saturation of 55.6% and a lightness of 10.6%. #0c172a color hex could be obtained by blending #182e54 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 9
    • B 16
    RGB color chart
    • C 71
    • M 45
    • Y 0
    • K 84
    CMYK color chart

#0c172a color description : Very dark (mostly black) blue.

#0c172a Color Conversion

The hexadecimal color #0c172a has RGB values of R:12, G:23, B:42 and CMYK values of C:0.71, M:0.45, Y:0, K:0.84. Its decimal value is 792362.

Hex triplet 0c172a #0c172a
RGB Decimal 12, 23, 42 rgb(12,23,42)
RGB Percent 4.7, 9, 16.5 rgb(4.7%,9%,16.5%)
CMYK 71, 45, 0, 84
HSL 218°, 55.6, 10.6 hsl(218,55.6%,10.6%)
HSV (or HSB) 218°, 71.4, 16.5
Web Safe 000033 #000033
CIE-LAB 7.751, 2.451, -14.415
XYZ 0.876, 0.858, 2.31
xyY 0.217, 0.212, 0.858
CIE-LCH 7.751, 14.622, 279.648
CIE-LUV 7.751, -2.862, -9.556
Hunter-Lab 9.263, 0.667, -8.3
Binary 00001100, 00010111, 00101010

Color Schemes with #0c172a

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

Alternatives to #0c172a

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

Similar Colors

#0c172a Preview

Text with hexadecimal color #0c172a

This text has a font color of #0c172a.

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

This paragraph has a background color of #0c172a.

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

This element has a border color of #0c172a.

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

Shades and Tints of #0c172a

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

Shade Color Variation
Tint Color Variation

Tones of #0c172a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c172a 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
  • #161616 Achromatopsia 0.005% of the population
  • #14161a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1b2234 Protanopia 1% of men
  • #182335 Deuteranopia 1% of men
  • #122528 Tritanopia 0.001% of the population
Trichromacy
  • #161e30 Protanomaly 1% of men, 0.01% of women
  • #131e31 Deuteranomaly 6% of men, 0.4% of women
  • #0f2029 Tritanomaly 0.01% of the population