#0c227e Color Information

In a RGB color space, hex #0c227e is composed of 4.7% red, 13.3% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 90.5% cyan, 73% magenta, 0% yellow and 50.6% black. It has a hue angle of 228.4 degrees, a saturation of 82.6% and a lightness of 27.1%. #0c227e color hex could be obtained by blending #1844fc with #000000. Closest websafe color is: #003366.

    • R 5
    • G 13
    • B 49
    RGB color chart
    • C 90
    • M 73
    • Y 0
    • K 51
    CMYK color chart

#0c227e color description : Dark blue.

#0c227e Color Conversion

The hexadecimal color #0c227e has RGB values of R:12, G:34, B:126 and CMYK values of C:0.9, M:0.73, Y:0, K:0.51. Its decimal value is 795262.

Hex triplet 0c227e #0c227e
RGB Decimal 12, 34, 126 rgb(12,34,126)
RGB Percent 4.7, 13.3, 49.4 rgb(4.7%,13.3%,49.4%)
CMYK 90, 73, 0, 51
HSL 228.4°, 82.6, 27.1 hsl(228.4,82.6%,27.1%)
HSV (or HSB) 228.4°, 90.5, 49.4
Web Safe 003366 #003366
CIE-LAB 18.921, 30.21, -53.533
XYZ 4.489, 2.728, 20.028
xyY 0.165, 0.1, 2.728
CIE-LCH 18.921, 61.469, 299.437
CIE-LUV 18.921, -6.799, -57.947
Hunter-Lab 16.517, 19.604, -60.328
Binary 00001100, 00100010, 01111110

Color Schemes with #0c227e

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

Alternatives to #0c227e

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

Similar Colors

#0c227e Preview

Text with hexadecimal color #0c227e

This text has a font color of #0c227e.

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

This paragraph has a background color of #0c227e.

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

This element has a border color of #0c227e.

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

Shades and Tints of #0c227e

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

Shade Color Variation
Tint Color Variation

Tones of #0c227e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c227e 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
  • #262626 Achromatopsia 0.005% of the population
  • #212538 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00376b Protanopia 1% of men
  • #003a5d Deuteranopia 1% of men
  • #003e41 Tritanopia 0.001% of the population
Trichromacy
  • #042f72 Protanomaly 1% of men, 0.01% of women
  • #043169 Deuteranomaly 6% of men, 0.4% of women
  • #043457 Tritanomaly 0.01% of the population