#0c2f8c Color Information

In a RGB color space, hex #0c2f8c is composed of 4.7% red, 18.4% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 91.4% cyan, 66.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 223.6 degrees, a saturation of 84.2% and a lightness of 29.8%. #0c2f8c color hex could be obtained by blending #185eff with #000019. Closest websafe color is: #003399.

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

#0c2f8c color description : Dark blue.

#0c2f8c Color Conversion

The hexadecimal color #0c2f8c has RGB values of R:12, G:47, B:140 and CMYK values of C:0.91, M:0.66, Y:0, K:0.45. Its decimal value is 798604.

Hex triplet 0c2f8c #0c2f8c
RGB Decimal 12, 47, 140 rgb(12,47,140)
RGB Percent 4.7, 18.4, 54.9 rgb(4.7%,18.4%,54.9%)
CMYK 91, 66, 0, 45
HSL 223.6°, 84.2, 29.8 hsl(223.6,84.2%,29.8%)
HSV (or HSB) 223.6°, 91.4, 54.9
Web Safe 003399 #003399
CIE-LAB 23.685, 26.925, -54.487
XYZ 5.901, 4.004, 25.271
xyY 0.168, 0.114, 4.004
CIE-LCH 23.685, 60.777, 296.297
CIE-LUV 23.685, -9.656, -65.939
Hunter-Lab 20.01, 17.619, -60.871
Binary 00001100, 00101111, 10001100

Color Schemes with #0c2f8c

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

Alternatives to #0c2f8c

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

Similar Colors

#0c2f8c Preview

Text with hexadecimal color #0c2f8c

This text has a font color of #0c2f8c.

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

This paragraph has a background color of #0c2f8c.

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

This element has a border color of #0c2f8c.

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

Shades and Tints of #0c2f8c

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

Shade Color Variation
Tint Color Variation

Tones of #0c2f8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2f8c 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #282f42 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407e Protanopia 1% of men
  • #00446d Deuteranopia 1% of men
  • #00494d Tritanopia 0.001% of the population
Trichromacy
  • #043a83 Protanomaly 1% of men, 0.01% of women
  • #043c78 Deuteranomaly 6% of men, 0.4% of women
  • #043f63 Tritanomaly 0.01% of the population