#0c1f7d Color Information

In a RGB color space, hex #0c1f7d is composed of 4.7% red, 12.2% green and 49% blue. Whereas in a CMYK color space, it is composed of 90.4% cyan, 75.2% magenta, 0% yellow and 51% black. It has a hue angle of 229.9 degrees, a saturation of 82.5% and a lightness of 26.9%. #0c1f7d color hex could be obtained by blending #183efa 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

#0c1f7d color description : Dark blue.

#0c1f7d Color Conversion

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

Hex triplet 0c1f7d #0c1f7d
RGB Decimal 12, 31, 125 rgb(12,31,125)
RGB Percent 4.7, 12.2, 49 rgb(4.7%,12.2%,49%)
CMYK 90, 75, 0, 51
HSL 229.9°, 82.5, 26.9 hsl(229.9,82.5%,26.9%)
HSV (or HSB) 229.9°, 90.4, 49
Web Safe 003366 #003366
CIE-LAB 18.092, 31.8, -54.267
XYZ 4.343, 2.538, 19.662
xyY 0.164, 0.096, 2.538
CIE-LCH 18.092, 62.897, 300.37
CIE-LUV 18.092, -6.244, -57.161
Hunter-Lab 15.933, 20.769, -62.016
Binary 00001100, 00011111, 01111101

Color Schemes with #0c1f7d

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

Alternatives to #0c1f7d

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

Similar Colors

#0c1f7d Preview

Text with hexadecimal color #0c1f7d

This text has a font color of #0c1f7d.

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

This paragraph has a background color of #0c1f7d.

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

This element has a border color of #0c1f7d.

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

Shades and Tints of #0c1f7d

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

Shade Color Variation
Tint Color Variation

Tones of #0c1f7d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f7d 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
  • #042d6f Protanomaly 1% of men, 0.01% of women
  • #042f66 Deuteranomaly 6% of men, 0.4% of women
  • #043155 Tritanomaly 0.01% of the population