#0c2a9f Color Information

In a RGB color space, hex #0c2a9f is composed of 4.7% red, 16.5% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 92.5% cyan, 73.6% magenta, 0% yellow and 37.6% black. It has a hue angle of 227.8 degrees, a saturation of 86% and a lightness of 33.5%. #0c2a9f color hex could be obtained by blending #1854ff with #00003f. Closest websafe color is: #003399.

    • R 5
    • G 16
    • B 62
    RGB color chart
    • C 92
    • M 74
    • Y 0
    • K 38
    CMYK color chart

#0c2a9f color description : Dark blue.

#0c2a9f Color Conversion

The hexadecimal color #0c2a9f has RGB values of R:12, G:42, B:159 and CMYK values of C:0.92, M:0.74, Y:0, K:0.38. Its decimal value is 797343.

Hex triplet 0c2a9f #0c2a9f
RGB Decimal 12, 42, 159 rgb(12,42,159)
RGB Percent 4.7, 16.5, 62.4 rgb(4.7%,16.5%,62.4%)
CMYK 92, 74, 0, 38
HSL 227.8°, 86, 33.5 hsl(227.8,86%,33.5%)
HSV (or HSB) 227.8°, 92.5, 62.4
Web Safe 003399 #003399
CIE-LAB 24.439, 37.609, -64.939
XYZ 7.236, 4.237, 33.235
xyY 0.162, 0.095, 4.237
CIE-LCH 24.439, 75.043, 300.077
CIE-LUV 24.439, -8.917, -77.739
Hunter-Lab 20.583, 26.733, -81.326
Binary 00001100, 00101010, 10011111

Color Schemes with #0c2a9f

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

Alternatives to #0c2a9f

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

Similar Colors

#0c2a9f Preview

Text with hexadecimal color #0c2a9f

This text has a font color of #0c2a9f.

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

This paragraph has a background color of #0c2a9f.

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

This element has a border color of #0c2a9f.

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

Shades and Tints of #0c2a9f

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a9f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a9f 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #272d45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #00466f Deuteranopia 1% of men
  • #004b4e Tritanopia 0.001% of the population
Trichromacy
  • #04398b Protanomaly 1% of men, 0.01% of women
  • #043b80 Deuteranomaly 6% of men, 0.4% of women
  • #043f6b Tritanomaly 0.01% of the population