#0c1f8d Color Information

In a RGB color space, hex #0c1f8d is composed of 4.7% red, 12.2% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 91.5% cyan, 78% magenta, 0% yellow and 44.7% black. It has a hue angle of 231.2 degrees, a saturation of 84.3% and a lightness of 30%. #0c1f8d color hex could be obtained by blending #183eff with #00001b. Closest websafe color is: #003399.

    • R 5
    • G 12
    • B 55
    RGB color chart
    • C 91
    • M 78
    • Y 0
    • K 45
    CMYK color chart

#0c1f8d color description : Dark blue.

#0c1f8d Color Conversion

The hexadecimal color #0c1f8d has RGB values of R:12, G:31, B:141 and CMYK values of C:0.91, M:0.78, Y:0, K:0.45. Its decimal value is 794509.

Hex triplet 0c1f8d #0c1f8d
RGB Decimal 12, 31, 141 rgb(12,31,141)
RGB Percent 4.7, 12.2, 55.3 rgb(4.7%,12.2%,55.3%)
CMYK 91, 78, 0, 45
HSL 231.2°, 84.3, 30 hsl(231.2,84.3%,30%)
HSV (or HSB) 231.2°, 91.5, 55.3
Web Safe 003399 #003399
CIE-LAB 19.967, 37.758, -61.245
XYZ 5.448, 2.981, 25.486
xyY 0.161, 0.088, 2.981
CIE-LCH 19.967, 71.949, 301.654
CIE-LUV 19.967, -6.676, -66.57
Hunter-Lab 17.265, 26.116, -75.436
Binary 00001100, 00011111, 10001101

Color Schemes with #0c1f8d

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

Alternatives to #0c1f8d

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

Similar Colors

#0c1f8d Preview

Text with hexadecimal color #0c1f8d

This text has a font color of #0c1f8d.

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

This paragraph has a background color of #0c1f8d.

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

This element has a border color of #0c1f8d.

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

Shades and Tints of #0c1f8d

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, #01030e is the darkest color, while #fbfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1f8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f8d 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
  • #262626 Achromatopsia 0.005% of the population
  • #21253b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396f Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004043 Tritanopia 0.001% of the population
Trichromacy
  • #042f7a Protanomaly 1% of men, 0.01% of women
  • #043170 Deuteranomaly 6% of men, 0.4% of women
  • #04345e Tritanomaly 0.01% of the population