#021228 Color Information

In a RGB color space, hex #021228 is composed of 0.8% red, 7.1% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 95% cyan, 55% magenta, 0% yellow and 84.3% black. It has a hue angle of 214.7 degrees, a saturation of 90.5% and a lightness of 8.2%. #021228 color hex could be obtained by blending #042450 with #000000. Closest websafe color is: #000033.

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

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

#021228 Color Conversion

The hexadecimal color #021228 has RGB values of R:2, G:18, B:40 and CMYK values of C:0.95, M:0.55, Y:0, K:0.84. Its decimal value is 135720.

Hex triplet 021228 #021228
RGB Decimal 2, 18, 40 rgb(2,18,40)
RGB Percent 0.8, 7.1, 15.7 rgb(0.8%,7.1%,15.7%)
CMYK 95, 55, 0, 84
HSL 214.7°, 90.5, 8.2 hsl(214.7,90.5%,8.2%)
HSV (or HSB) 214.7°, 95, 15.7
Web Safe 000033 #000033
CIE-LAB 5.408, 2.263, -16.64
XYZ 0.624, 0.599, 2.09
xyY 0.188, 0.181, 0.599
CIE-LCH 5.408, 16.793, 277.744
CIE-LUV 5.408, -2.85, -9.063
Hunter-Lab 7.737, 0.861, -10.599
Binary 00000010, 00010010, 00101000

Color Schemes with #021228

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

Alternatives to #021228

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

Similar Colors

#021228 Preview

Text with hexadecimal color #021228

This text has a font color of #021228.

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

This paragraph has a background color of #021228.

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

This element has a border color of #021228.

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

Shades and Tints of #021228

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

Shade Color Variation
Tint Color Variation

Tones of #021228

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #021228 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
  • #101010 Achromatopsia 0.005% of the population
  • #0d1015 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #131d32 Protanopia 1% of men
  • #051e33 Deuteranopia 1% of men
  • #002123 Tritanopia 0.001% of the population
Trichromacy
  • #0d192e Protanomaly 1% of men, 0.01% of women
  • #041a2f Deuteranomaly 6% of men, 0.4% of women
  • #001b24 Tritanomaly 0.01% of the population