#021238 Color Information

In a RGB color space, hex #021238 is composed of 0.8% red, 7.1% green and 22% blue. Whereas in a CMYK color space, it is composed of 96.4% cyan, 67.9% magenta, 0% yellow and 78% black. It has a hue angle of 222.2 degrees, a saturation of 93.1% and a lightness of 11.4%. #021238 color hex could be obtained by blending #042470 with #000000. Closest websafe color is: #000033.

    • R 1
    • G 7
    • B 22
    RGB color chart
    • C 96
    • M 68
    • Y 0
    • K 78
    CMYK color chart

#021238 color description : Very dark blue.

#021238 Color Conversion

The hexadecimal color #021238 has RGB values of R:2, G:18, B:56 and CMYK values of C:0.96, M:0.68, Y:0, K:0.78. Its decimal value is 135736.

Hex triplet 021238 #021238
RGB Decimal 2, 18, 56 rgb(2,18,56)
RGB Percent 0.8, 7.1, 22 rgb(0.8%,7.1%,22%)
CMYK 96, 68, 0, 78
HSL 222.2°, 93.1, 11.4 hsl(222.2,93.1%,11.4%)
HSV (or HSB) 222.2°, 96.4, 22
Web Safe 000033 #000033
CIE-LAB 6.603, 10.467, -26.571
XYZ 0.955, 0.731, 3.832
xyY 0.173, 0.132, 0.731
CIE-LCH 6.603, 28.558, 291.501
CIE-LUV 6.603, -2.978, -16.084
Hunter-Lab 8.55, 4.977, -20.589
Binary 00000010, 00010010, 00111000

Color Schemes with #021238

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

Alternatives to #021238

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

Similar Colors

#021238 Preview

Text with hexadecimal color #021238

This text has a font color of #021238.

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

This paragraph has a background color of #021238.

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

This element has a border color of #021238.

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

Shades and Tints of #021238

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

Shade Color Variation
Tint Color Variation

Tones of #021238

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #021238 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
  • #121212 Achromatopsia 0.005% of the population
  • #0f121a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #001f3e Protanopia 1% of men
  • #002136 Deuteranopia 1% of men
  • #002426 Tritanopia 0.001% of the population
Trichromacy
  • #001a3c Protanomaly 1% of men, 0.01% of women
  • #001b36 Deuteranomaly 6% of men, 0.4% of women
  • #001d2c Tritanomaly 0.01% of the population