#0c1f7f Color Information

In a RGB color space, hex #0c1f7f is composed of 4.7% red, 12.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 90.6% cyan, 75.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 230.1 degrees, a saturation of 82.7% and a lightness of 27.3%. #0c1f7f color hex could be obtained by blending #183efe with #000000. Closest websafe color is: #003366.

    • R 5
    • G 12
    • B 50
    RGB color chart
    • C 91
    • M 76
    • Y 0
    • K 50
    CMYK color chart

#0c1f7f color description : Dark blue.

#0c1f7f Color Conversion

The hexadecimal color #0c1f7f has RGB values of R:12, G:31, B:127 and CMYK values of C:0.91, M:0.76, Y:0, K:0.5. Its decimal value is 794495.

Hex triplet 0c1f7f #0c1f7f
RGB Decimal 12, 31, 127 rgb(12,31,127)
RGB Percent 4.7, 12.2, 49.8 rgb(4.7%,12.2%,49.8%)
CMYK 91, 76, 0, 50
HSL 230.1°, 82.7, 27.3 hsl(230.1,82.7%,27.3%)
HSV (or HSB) 230.1°, 90.6, 49.8
Web Safe 003366 #003366
CIE-LAB 18.321, 32.564, -55.159
XYZ 4.472, 2.59, 20.342
xyY 0.163, 0.095, 2.59
CIE-LCH 18.321, 64.054, 300.556
CIE-LUV 18.321, -6.295, -58.339
Hunter-Lab 16.094, 21.431, -63.674
Binary 00001100, 00011111, 01111111

Color Schemes with #0c1f7f

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

Alternatives to #0c1f7f

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

Similar Colors

#0c1f7f Preview

Text with hexadecimal color #0c1f7f

This text has a font color of #0c1f7f.

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

This paragraph has a background color of #0c1f7f.

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

This element has a border color of #0c1f7f.

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

Shades and Tints of #0c1f7f

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

Shade Color Variation
Tint Color Variation

Tones of #0c1f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f7f 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
  • #003669 Protanopia 1% of men
  • #00395a Deuteranopia 1% of men
  • #003d40 Tritanopia 0.001% of the population
Trichromacy
  • #042d71 Protanomaly 1% of men, 0.01% of women
  • #042f68 Deuteranomaly 6% of men, 0.4% of women
  • #043256 Tritanomaly 0.01% of the population