colorhexa.com

#21008b hex color

In a RGB color space, hex #21008b is composed of 12.9% red, 0% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 76.3% cyan, 100% magenta, 0% yellow and 45.5% black. It has a hue angle of 254.2 degrees, a saturation of 100% and a lightness of 27.3%. #21008b color hex could be obtained by blending #4200ff with #000017. Closest websafe color is: #330099.

    • R 13
    • G 0
    • B 55

    RGB color chart

    • C 76
    • M 100
    • Y 0
    • K 45

    CMYK color chart

#21008b color description : Dark blue.

The hexadecimal color #21008b has RGB values of R:33, G:0, B:139 and CMYK values of C:0.76, M:1, Y:0, K:0.45. Its decimal value is 2162827.

Hex triplet 21008b #21008b
RGB Decimal 33, 0, 139 rgb(33,0,139)
RGB Percent 12.9, 0, 54.5 rgb(12.9%,0%,54.5%)
CMYK 76, 100, 0, 45
HSL 254.2°, 100, 27.3 hsl(254.2,100%,27.3%)
HSV (or HSB) 254.2°, 100, 54.5
Web Safe 330099 #330099
CIE-LAB 16.44, 51.031, -65.828
XYZ 5.287, 2.187, 24.568
xyY 0.165, 0.068, 2.187
CIE-LCH 16.44, 83.292, 307.784
CIE-LUV 16.44, -1.858, -62.464
Hunter-Lab 14.789, 37.927, -88.144
Binary 00100001, 00000000, 10001011

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #21008b

This text has a font color of #21008b.

<span style="color:#21008b;">Text here</span>

#21008b background color

This paragraph has a background color of #21008b.

<p style="background-color:#21008b;">Content here</p>

#21008b border color

This element has a border color of #21008b.

<div style="border:1px solid #21008b;">Content here</div>

CSS codes

.text {color:#21008b;}
.background {background-color:#21008b;}
.border {border:1px solid #21008b;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #21008b 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

  • #1a1a1a Achromatopsia 0.005% of the population
  • #1b1531 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #003261 Protanopia 1% of men
  • #003554 Deuteranopia 1% of men
  • #00393b Tritanopia 0.001% of the population

Trichromacy

  • #0c2070 Protanomaly 1% of men, 0.01% of women
  • #0c2268 Deuteranomaly 6% of men, 0.4% of women
  • #0c2458 Tritanomaly 0.01% of the population