#0c2a9d Color Information

In a RGB color space, hex #0c2a9d is composed of 4.7% red, 16.5% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 92.4% cyan, 73.2% magenta, 0% yellow and 38.4% black. It has a hue angle of 227.6 degrees, a saturation of 85.8% and a lightness of 33.1%. #0c2a9d color hex could be obtained by blending #1854ff with #00003b. Closest websafe color is: #003399.

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

#0c2a9d color description : Dark blue.

#0c2a9d Color Conversion

The hexadecimal color #0c2a9d has RGB values of R:12, G:42, B:157 and CMYK values of C:0.92, M:0.73, Y:0, K:0.38. Its decimal value is 797341.

Hex triplet 0c2a9d #0c2a9d
RGB Decimal 12, 42, 157 rgb(12,42,157)
RGB Percent 4.7, 16.5, 61.6 rgb(4.7%,16.5%,61.6%)
CMYK 92, 73, 0, 38
HSL 227.6°, 85.8, 33.1 hsl(227.6,85.8%,33.1%)
HSV (or HSB) 227.6°, 92.4, 61.6
Web Safe 003399 #003399
CIE-LAB 24.219, 36.865, -64.083
XYZ 7.064, 4.168, 32.329
xyY 0.162, 0.096, 4.168
CIE-LCH 24.219, 73.93, 299.91
CIE-LUV 24.219, -8.879, -76.551
Hunter-Lab 20.415, 26.038, -79.598
Binary 00001100, 00101010, 10011101

Color Schemes with #0c2a9d

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

Alternatives to #0c2a9d

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

Similar Colors

#0c2a9d Preview

Text with hexadecimal color #0c2a9d

This text has a font color of #0c2a9d.

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

This paragraph has a background color of #0c2a9d.

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

This element has a border color of #0c2a9d.

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

Shades and Tints of #0c2a9d

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

Shade Color Variation
Tint Color Variation

Tones of #0c2a9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a9d 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
  • #272d44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004180 Protanopia 1% of men
  • #00456e Deuteranopia 1% of men
  • #004a4e Tritanopia 0.001% of the population
Trichromacy
  • #04398a Protanomaly 1% of men, 0.01% of women
  • #043b7f Deuteranomaly 6% of men, 0.4% of women
  • #043e6a Tritanomaly 0.01% of the population