#0c228e Color Information

In a RGB color space, hex #0c228e is composed of 4.7% red, 13.3% green and 55.7% blue. Whereas in a CMYK color space, it is composed of 91.5% cyan, 76.1% magenta, 0% yellow and 44.3% black. It has a hue angle of 229.8 degrees, a saturation of 84.4% and a lightness of 30.2%. #0c228e color hex could be obtained by blending #1844ff with #00001d. Closest websafe color is: #003399.

    • R 5
    • G 13
    • B 56
    RGB color chart
    • C 92
    • M 76
    • Y 0
    • K 44
    CMYK color chart

#0c228e color description : Dark blue.

#0c228e Color Conversion

The hexadecimal color #0c228e has RGB values of R:12, G:34, B:142 and CMYK values of C:0.92, M:0.76, Y:0, K:0.44. Its decimal value is 795278.

Hex triplet 0c228e #0c228e
RGB Decimal 12, 34, 142 rgb(12,34,142)
RGB Percent 4.7, 13.3, 55.7 rgb(4.7%,13.3%,55.7%)
CMYK 92, 76, 0, 44
HSL 229.8°, 84.4, 30.2 hsl(229.8,84.4%,30.2%)
HSV (or HSB) 229.8°, 91.5, 55.7
Web Safe 003399 #003399
CIE-LAB 20.731, 36.297, -60.603
XYZ 5.605, 3.175, 25.907
xyY 0.162, 0.092, 3.175
CIE-LCH 20.731, 70.642, 300.919
CIE-LUV 20.731, -7.175, -67.411
Hunter-Lab 17.818, 24.971, -73.735
Binary 00001100, 00100010, 10001110

Color Schemes with #0c228e

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

Alternatives to #0c228e

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

Similar Colors

#0c228e Preview

Text with hexadecimal color #0c228e

This text has a font color of #0c228e.

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

This paragraph has a background color of #0c228e.

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

This element has a border color of #0c228e.

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

Shades and Tints of #0c228e

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, #01040f is the darkest color, while #fcfdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c228e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #0c228e 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
  • #282828 Achromatopsia 0.005% of the population
  • #22273c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a72 Protanopia 1% of men
  • #003e62 Deuteranopia 1% of men
  • #004245 Tritanopia 0.001% of the population
Trichromacy
  • #04317c Protanomaly 1% of men, 0.01% of women
  • #043472 Deuteranomaly 6% of men, 0.4% of women
  • #04365f Tritanomaly 0.01% of the population