#021fab Color Information

In a RGB color space, hex #021fab is composed of 0.8% red, 12.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 98.8% cyan, 81.9% magenta, 0% yellow and 32.9% black. It has a hue angle of 229.7 degrees, a saturation of 97.7% and a lightness of 33.9%. #021fab color hex could be obtained by blending #043eff with #000057. Closest websafe color is: #003399.

    • R 1
    • G 12
    • B 67
    RGB color chart
    • C 99
    • M 82
    • Y 0
    • K 33
    CMYK color chart

#021fab color description : Dark blue.

#021fab Color Conversion

The hexadecimal color #021fab has RGB values of R:2, G:31, B:171 and CMYK values of C:0.99, M:0.82, Y:0, K:0.33. Its decimal value is 139179.

Hex triplet 021fab #021fab
RGB Decimal 2, 31, 171 rgb(2,31,171)
RGB Percent 0.8, 12.2, 67.1 rgb(0.8%,12.2%,67.1%)
CMYK 99, 82, 0, 33
HSL 229.7°, 97.7, 33.9 hsl(229.7,97.7%,33.9%)
HSV (or HSB) 229.7°, 98.8, 67.1
Web Safe 003399 #003399
CIE-LAB 23.447, 47.845, -73.866
XYZ 7.864, 3.933, 38.87
xyY 0.155, 0.078, 3.933
CIE-LCH 23.447, 88.008, 302.932
CIE-LUV 23.447, -8.04, -83.952
Hunter-Lab 19.831, 36.084, -102.334
Binary 00000010, 00011111, 10101011

Color Schemes with #021fab

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

Alternatives to #021fab

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

Similar Colors

#021fab Preview

Text with hexadecimal color #021fab

This text has a font color of #021fab.

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

This paragraph has a background color of #021fab.

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

This element has a border color of #021fab.

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

Shades and Tints of #021fab

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

Shade Color Variation
Tint Color Variation

Tones of #021fab

A tone is produced by adding gray to any pure hue. In this case, #52535b is the less saturated color, while #021fab is the most saturated one.

Tone Color Variation

Color Blindness Simulator

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

  • #262626 Achromatopsia 0.005% of the population
  • #1f2541 Atypical Achromatopsia 0.001% of the population
  • #00407c Protanopia 1% of men
  • #00446b Deuteranopia 1% of men
  • #00484b Tritanopia 0.001% of the population
  • #00348d Protanomaly 1% of men, 0.01% of women
  • #003682 Deuteranomaly 6% of men, 0.4% of women
  • #00396e Tritanomaly 0.01% of the population