#0c1228 Color Information

In a RGB color space, hex #0c1228 is composed of 4.7% red, 7.1% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 70% cyan, 55% magenta, 0% yellow and 84.3% black. It has a hue angle of 227.1 degrees, a saturation of 53.8% and a lightness of 10.2%. #0c1228 color hex could be obtained by blending #182450 with #000000. Closest websafe color is: #000033.

    • R 5
    • G 7
    • B 16
    RGB color chart
    • C 70
    • M 55
    • Y 0
    • K 84
    CMYK color chart

#0c1228 color description : Very dark (mostly black) blue.

#0c1228 Color Conversion

The hexadecimal color #0c1228 has RGB values of R:12, G:18, B:40 and CMYK values of C:0.7, M:0.55, Y:0, K:0.84. Its decimal value is 791080.

Hex triplet 0c1228 #0c1228
RGB Decimal 12, 18, 40 rgb(12,18,40)
RGB Percent 4.7, 7.1, 15.7 rgb(4.7%,7.1%,15.7%)
CMYK 70, 55, 0, 84
HSL 227.1°, 53.8, 10.2 hsl(227.1,53.8%,10.2%)
HSV (or HSB) 227.1°, 70, 15.7
Web Safe 000033 #000033
CIE-LAB 5.997, 4.907, -15.674
XYZ 0.751, 0.664, 2.096
xyY 0.214, 0.189, 0.664
CIE-LCH 5.997, 16.424, 287.384
CIE-LUV 5.997, -1.649, -9.106
Hunter-Lab 8.148, 2.189, -9.547
Binary 00001100, 00010010, 00101000

Color Schemes with #0c1228

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

Alternatives to #0c1228

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

Similar Colors

#0c1228 Preview

Text with hexadecimal color #0c1228

This text has a font color of #0c1228.

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

This paragraph has a background color of #0c1228.

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

This element has a border color of #0c1228.

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

Shades and Tints of #0c1228

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, #03040a is the darkest color, while #fafbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #0c1228

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

Tone Color Variation

Color Blindness Simulator

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

  • #131313 Achromatopsia 0.005% of the population
  • #121317 Atypical Achromatopsia 0.001% of the population
  • #151e33 Protanopia 1% of men
  • #101f32 Deuteranopia 1% of men
  • #112124 Tritanopia 0.001% of the population
  • #121a2f Protanomaly 1% of men, 0.01% of women
  • #0f1a2e Deuteranomaly 6% of men, 0.4% of women
  • #0f1c25 Tritanomaly 0.01% of the population