#0c1f7e Color Information

In a RGB color space, hex #0c1f7e is composed of 4.7% red, 12.2% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 90.5% cyan, 75.4% magenta, 0% yellow and 50.6% black. It has a hue angle of 230 degrees, a saturation of 82.6% and a lightness of 27.1%. #0c1f7e color hex could be obtained by blending #183efc with #000000. Closest websafe color is: #003366.

    • R 5
    • G 12
    • B 49
    RGB color chart
    • C 90
    • M 75
    • Y 0
    • K 51
    CMYK color chart

#0c1f7e color description : Dark blue.

#0c1f7e Color Conversion

The hexadecimal color #0c1f7e has RGB values of R:12, G:31, B:126 and CMYK values of C:0.9, M:0.75, Y:0, K:0.51. Its decimal value is 794494.

Hex triplet 0c1f7e #0c1f7e
RGB Decimal 12, 31, 126 rgb(12,31,126)
RGB Percent 4.7, 12.2, 49.4 rgb(4.7%,12.2%,49.4%)
CMYK 90, 75, 0, 51
HSL 230°, 82.6, 27.1 hsl(230,82.6%,27.1%)
HSV (or HSB) 230°, 90.5, 49.4
Web Safe 003366 #003366
CIE-LAB 18.206, 32.182, -54.713
XYZ 4.407, 2.564, 20
xyY 0.163, 0.095, 2.564
CIE-LCH 18.206, 63.476, 300.464
CIE-LUV 18.206, -6.269, -57.75
Hunter-Lab 16.013, 21.1, -62.844
Binary 00001100, 00011111, 01111110

Color Schemes with #0c1f7e

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

Alternatives to #0c1f7e

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

Similar Colors

#0c1f7e Preview

Text with hexadecimal color #0c1f7e

This text has a font color of #0c1f7e.

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

This paragraph has a background color of #0c1f7e.

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

This element has a border color of #0c1f7e.

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

Shades and Tints of #0c1f7e

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 #eef0fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1f7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f7e 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
  • #242424 Achromatopsia 0.005% of the population
  • #1f2336 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #00385a Deuteranopia 1% of men
  • #003c3f Tritanopia 0.001% of the population
Trichromacy
  • #042d70 Protanomaly 1% of men, 0.01% of women
  • #042f67 Deuteranomaly 6% of men, 0.4% of women
  • #043256 Tritanomaly 0.01% of the population