#0c1f87 Color Information

In a RGB color space, hex #0c1f87 is composed of 4.7% red, 12.2% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 91.1% cyan, 77% magenta, 0% yellow and 47.1% black. It has a hue angle of 230.7 degrees, a saturation of 83.7% and a lightness of 28.8%. #0c1f87 color hex could be obtained by blending #183eff with #00000f. Closest websafe color is: #003399.

    • R 5
    • G 12
    • B 53
    RGB color chart
    • C 91
    • M 77
    • Y 0
    • K 47
    CMYK color chart

#0c1f87 color description : Dark blue.

#0c1f87 Color Conversion

The hexadecimal color #0c1f87 has RGB values of R:12, G:31, B:135 and CMYK values of C:0.91, M:0.77, Y:0, K:0.47. Its decimal value is 794503.

Hex triplet 0c1f87 #0c1f87
RGB Decimal 12, 31, 135 rgb(12,31,135)
RGB Percent 4.7, 12.2, 52.9 rgb(4.7%,12.2%,52.9%)
CMYK 91, 77, 0, 47
HSL 230.7°, 83.7, 28.8 hsl(230.7,83.7%,28.8%)
HSV (or HSB) 230.7°, 91.1, 52.9
Web Safe 003399 #003399
CIE-LAB 19.254, 35.564, -58.669
XYZ 5.014, 2.807, 23.198
xyY 0.162, 0.09, 2.807
CIE-LCH 19.254, 68.607, 301.223
CIE-LUV 19.254, -6.509, -63.046
Hunter-Lab 16.754, 24.099, -70.365
Binary 00001100, 00011111, 10000111

Color Schemes with #0c1f87

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

Alternatives to #0c1f87

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

Similar Colors

#0c1f87 Preview

Text with hexadecimal color #0c1f87

This text has a font color of #0c1f87.

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

This paragraph has a background color of #0c1f87.

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

This element has a border color of #0c1f87.

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

Shades and Tints of #0c1f87

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

Shade Color Variation
Tint Color Variation

Tones of #0c1f87

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f87 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
  • #252525 Achromatopsia 0.005% of the population
  • #202439 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376c Protanopia 1% of men
  • #003b5d Deuteranopia 1% of men
  • #003f42 Tritanopia 0.001% of the population
Trichromacy
  • #042e76 Protanomaly 1% of men, 0.01% of women
  • #04306c Deuteranomaly 6% of men, 0.4% of women
  • #04335b Tritanomaly 0.01% of the population