#0c1f7a Color Information

In a RGB color space, hex #0c1f7a is composed of 4.7% red, 12.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 90.2% cyan, 74.6% magenta, 0% yellow and 52.2% black. It has a hue angle of 229.6 degrees, a saturation of 82.1% and a lightness of 26.3%. #0c1f7a color hex could be obtained by blending #183ef4 with #000000. Closest websafe color is: #003366.

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

#0c1f7a color description : Dark blue.

#0c1f7a Color Conversion

The hexadecimal color #0c1f7a has RGB values of R:12, G:31, B:122 and CMYK values of C:0.9, M:0.75, Y:0, K:0.52. Its decimal value is 794490.

Hex triplet 0c1f7a #0c1f7a
RGB Decimal 12, 31, 122 rgb(12,31,122)
RGB Percent 4.7, 12.2, 47.8 rgb(4.7%,12.2%,47.8%)
CMYK 90, 75, 0, 52
HSL 229.6°, 82.1, 26.3 hsl(229.6,82.1%,26.3%)
HSV (or HSB) 229.6°, 90.2, 47.8
Web Safe 003366 #003366
CIE-LAB 17.75, 30.643, -52.917
XYZ 4.154, 2.463, 18.668
xyY 0.164, 0.097, 2.463
CIE-LCH 17.75, 61.149, 300.074
CIE-LUV 17.75, -6.168, -55.393
Hunter-Lab 15.694, 19.78, -59.54
Binary 00001100, 00011111, 01111010

Color Schemes with #0c1f7a

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

Alternatives to #0c1f7a

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

Similar Colors

#0c1f7a Preview

Text with hexadecimal color #0c1f7a

This text has a font color of #0c1f7a.

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

This paragraph has a background color of #0c1f7a.

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

This element has a border color of #0c1f7a.

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

Shades and Tints of #0c1f7a

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, #01040f is the darkest color, while #fcfcff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1f7a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c1f7a 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
  • #1f2335 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003466 Protanopia 1% of men
  • #003859 Deuteranopia 1% of men
  • #003b3e Tritanopia 0.001% of the population
Trichromacy
  • #042c6d Protanomaly 1% of men, 0.01% of women
  • #042e65 Deuteranomaly 6% of men, 0.4% of women
  • #043154 Tritanomaly 0.01% of the population