#0c2a7b Color Information

In a RGB color space, hex #0c2a7b is composed of 4.7% red, 16.5% green and 48.2% blue. Whereas in a CMYK color space, it is composed of 90.2% cyan, 65.9% magenta, 0% yellow and 51.8% black. It has a hue angle of 223.8 degrees, a saturation of 82.2% and a lightness of 26.5%. #0c2a7b color hex could be obtained by blending #1854f6 with #000000. Closest websafe color is: #003366.

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

#0c2a7b color description : Dark blue.

#0c2a7b Color Conversion

The hexadecimal color #0c2a7b has RGB values of R:12, G:42, B:123 and CMYK values of C:0.9, M:0.66, Y:0, K:0.52. Its decimal value is 797307.

Hex triplet 0c2a7b #0c2a7b
RGB Decimal 12, 42, 123 rgb(12,42,123)
RGB Percent 4.7, 16.5, 48.2 rgb(4.7%,16.5%,48.2%)
CMYK 90, 66, 0, 52
HSL 223.8°, 82.2, 26.5 hsl(223.8,82.2%,26.5%)
HSV (or HSB) 223.8°, 90.2, 48.2
Web Safe 003366 #003366
CIE-LAB 20.688, 23.463, -48.719
XYZ 4.554, 3.164, 19.108
xyY 0.17, 0.118, 3.164
CIE-LCH 20.688, 54.074, 295.716
CIE-LUV 20.688, -8.401, -55.917
Hunter-Lab 17.787, 14.574, -51.244
Binary 00001100, 00101010, 01111011

Color Schemes with #0c2a7b

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

Alternatives to #0c2a7b

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

Similar Colors

#0c2a7b Preview

Text with hexadecimal color #0c2a7b

This text has a font color of #0c2a7b.

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

This paragraph has a background color of #0c2a7b.

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

This element has a border color of #0c2a7b.

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

Shades and Tints of #0c2a7b

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, #020510 is the darkest color, while #fdfdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c2a7b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c2a7b 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.

  • #2a2a2a Achromatopsia 0.005% of the population
  • #242a3a Atypical Achromatopsia 0.001% of the population
  • #003a72 Protanopia 1% of men
  • #003e63 Deuteranopia 1% of men
  • #004245 Tritanopia 0.001% of the population
  • #043475 Protanomaly 1% of men, 0.01% of women
  • #04366c Deuteranomaly 6% of men, 0.4% of women
  • #043959 Tritanomaly 0.01% of the population