#0c218a Color Information

In a RGB color space, hex #0c218a is composed of 4.7% red, 12.9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 91.3% cyan, 76.1% magenta, 0% yellow and 45.9% black. It has a hue angle of 230 degrees, a saturation of 84% and a lightness of 29.4%. #0c218a color hex could be obtained by blending #1842ff with #000015. Closest websafe color is: #003399.

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

#0c218a color description : Dark blue.

#0c218a Color Conversion

The hexadecimal color #0c218a has RGB values of R:12, G:33, B:138 and CMYK values of C:0.91, M:0.76, Y:0, K:0.46. Its decimal value is 795018.

Hex triplet 0c218a #0c218a
RGB Decimal 12, 33, 138 rgb(12,33,138)
RGB Percent 4.7, 12.9, 54.1 rgb(4.7%,12.9%,54.1%)
CMYK 91, 76, 0, 46
HSL 230°, 84, 29.4 hsl(230,84%,29.4%)
HSV (or HSB) 230°, 91.3, 54.1
Web Safe 003399 #003399
CIE-LAB 20.046, 35.436, -59.24
XYZ 5.282, 3, 24.344
xyY 0.162, 0.092, 3
CIE-LCH 20.046, 69.029, 300.887
CIE-LUV 20.046, -6.91, -64.982
Hunter-Lab 17.322, 24.117, -71.201
Binary 00001100, 00100001, 10001010

Color Schemes with #0c218a

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

Alternatives to #0c218a

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

Similar Colors

#0c218a Preview

Text with hexadecimal color #0c218a

This text has a font color of #0c218a.

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

This paragraph has a background color of #0c218a.

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

This element has a border color of #0c218a.

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

Shades and Tints of #0c218a

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

Shade Color Variation
Tint Color Variation

Tones of #0c218a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c218a 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
  • #00396f Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004144 Tritanopia 0.001% of the population
Trichromacy
  • #043079 Protanomaly 1% of men, 0.01% of women
  • #04326f Deuteranomaly 6% of men, 0.4% of women
  • #04355d Tritanomaly 0.01% of the population