#0c1257 Color Information

In a RGB color space, hex #0c1257 is composed of 4.7% red, 7.1% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 86.2% cyan, 79.3% magenta, 0% yellow and 65.9% black. It has a hue angle of 235.2 degrees, a saturation of 75.8% and a lightness of 19.4%. #0c1257 color hex could be obtained by blending #1824ae with #000000. Closest websafe color is: #000066.

    • R 5
    • G 7
    • B 34
    RGB color chart
    • C 86
    • M 79
    • Y 0
    • K 66
    CMYK color chart

#0c1257 color description : Very dark blue.

#0c1257 Color Conversion

The hexadecimal color #0c1257 has RGB values of R:12, G:18, B:87 and CMYK values of C:0.86, M:0.79, Y:0, K:0.66. Its decimal value is 791127.

Hex triplet 0c1257 #0c1257
RGB Decimal 12, 18, 87 rgb(12,18,87)
RGB Percent 4.7, 7.1, 34.1 rgb(4.7%,7.1%,34.1%)
CMYK 86, 79, 0, 66
HSL 235.2°, 75.8, 19.4 hsl(235.2,75.8%,19.4%)
HSV (or HSB) 235.2°, 86.2, 34.1
Web Safe 000066 #000066
CIE-LAB 10.548, 25.6, -41.79
XYZ 2.088, 1.199, 9.138
xyY 0.168, 0.096, 1.199
CIE-LCH 10.548, 49.008, 301.49
CIE-LUV 10.548, -3.01, -33.064
Hunter-Lab 10.949, 14.879, -41.818
Binary 00001100, 00010010, 01010111

Color Schemes with #0c1257

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

Alternatives to #0c1257

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

Similar Colors

#0c1257 Preview

Text with hexadecimal color #0c1257

This text has a font color of #0c1257.

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

This paragraph has a background color of #0c1257.

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

This element has a border color of #0c1257.

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

Shades and Tints of #0c1257

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

Shade Color Variation
Tint Color Variation

Tones of #0c1257

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

Tone Color Variation

Color Blindness Simulator

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

  • #181818 Achromatopsia 0.005% of the population
  • #161725 Atypical Achromatopsia 0.001% of the population
  • #00274c Protanopia 1% of men
  • #002942 Deuteranopia 1% of men
  • #002c2e Tritanopia 0.001% of the population
  • #041f50 Protanomaly 1% of men, 0.01% of women
  • #042049 Deuteranomaly 6% of men, 0.4% of women
  • #04223d Tritanomaly 0.01% of the population