#0c1f28 Color Information

In a RGB color space, hex #0c1f28 is composed of 4.7% red, 12.2% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 70% cyan, 22.5% magenta, 0% yellow and 84.3% black. It has a hue angle of 199.3 degrees, a saturation of 53.8% and a lightness of 10.2%. #0c1f28 color hex could be obtained by blending #183e50 with #000000. Closest websafe color is: #003333.

    • R 5
    • G 12
    • B 16
    RGB color chart
    • C 70
    • M 23
    • Y 0
    • K 84
    CMYK color chart

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

#0c1f28 Color Conversion

The hexadecimal color #0c1f28 has RGB values of R:12, G:31, B:40 and CMYK values of C:0.7, M:0.23, Y:0, K:0.84. Its decimal value is 794408.

Hex triplet 0c1f28 #0c1f28
RGB Decimal 12, 31, 40 rgb(12,31,40)
RGB Percent 4.7, 12.2, 15.7 rgb(4.7%,12.2%,15.7%)
CMYK 70, 23, 0, 84
HSL 199.3°, 53.8, 10.2 hsl(199.3,53.8%,10.2%)
HSV (or HSB) 199.3°, 70, 15.7
Web Safe 003333 #003333
CIE-LAB 10.64, -4.379, -8.436
XYZ 1.025, 1.211, 2.187
xyY 0.232, 0.274, 1.211
CIE-LCH 10.64, 9.505, 242.565
CIE-LUV 10.64, -5.356, -6.233
Hunter-Lab 11.006, -2.644, -4.079
Binary 00001100, 00011111, 00101000

Color Schemes with #0c1f28

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

Alternatives to #0c1f28

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

Similar Colors

#0c1f28 Preview

Text with hexadecimal color #0c1f28

This text has a font color of #0c1f28.

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

This paragraph has a background color of #0c1f28.

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

This element has a border color of #0c1f28.

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

Shades and Tints of #0c1f28

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, #03080a is the darkest color, while #fafcfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1f28

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

Tone Color Variation

Color Blindness Simulator

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

  • #1a1a1a Achromatopsia 0.005% of the population
  • #171b1d Atypical Achromatopsia 0.001% of the population
  • #262831 Protanopia 1% of men
  • #252734 Deuteranopia 1% of men
  • #162b2e Tritanopia 0.001% of the population
  • #1c242e Protanomaly 1% of men, 0.01% of women
  • #1c242f Deuteranomaly 6% of men, 0.4% of women
  • #12262c Tritanomaly 0.01% of the population