#0c218c Color Information

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

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

#0c218c color description : Dark blue.

#0c218c Color Conversion

The hexadecimal color #0c218c has RGB values of R:12, G:33, B:140 and CMYK values of C:0.91, M:0.76, Y:0, K:0.45. Its decimal value is 795020.

Hex triplet 0c218c #0c218c
RGB Decimal 12, 33, 140 rgb(12,33,140)
RGB Percent 4.7, 12.9, 54.9 rgb(4.7%,12.9%,54.9%)
CMYK 91, 76, 0, 45
HSL 230.2°, 84.2, 29.8 hsl(230.2,84.2%,29.8%)
HSV (or HSB) 230.2°, 91.4, 54.9
Web Safe 003399 #003399
CIE-LAB 20.278, 36.177, -60.105
XYZ 5.428, 3.059, 25.114
xyY 0.162, 0.091, 3.059
CIE-LCH 20.278, 70.153, 301.043
CIE-LUV 20.278, -6.961, -66.16
Hunter-Lab 17.49, 24.792, -72.893
Binary 00001100, 00100001, 10001100

Color Schemes with #0c218c

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

Alternatives to #0c218c

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

Similar Colors

#0c218c Preview

Text with hexadecimal color #0c218c

This text has a font color of #0c218c.

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

This paragraph has a background color of #0c218c.

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

This element has a border color of #0c218c.

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

Shades and Tints of #0c218c

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

Shade Color Variation
Tint Color Variation

Tones of #0c218c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c218c 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
  • #272727 Achromatopsia 0.005% of the population
  • #22263b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003970 Protanopia 1% of men
  • #003d61 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
Trichromacy
  • #04307a Protanomaly 1% of men, 0.01% of women
  • #043370 Deuteranomaly 6% of men, 0.4% of women
  • #04355e Tritanomaly 0.01% of the population