#21206E#21206E

#21206E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.131 H 275.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#21206E
RGBrgb(33, 32, 110)
HSLhsl(241, 55%, 28%)
HSVhsv(241, 71%, 43%)
CMYKcmyk(70%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.84, 27.45, -45.00)
CIE-LCHlch(17.84, 52.71, 301.38°)
OKLaboklab(30.31% 0.0133 -0.1299)
OKLCHoklch(30.31% 0.131 275.8)
XYZxyz(3.9573, 2.4818, 15.0193)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21206E #6D6E20
analogous
#20466E #21206E #48206E
triadic
#21206E #6E2120 #206E21
tetradic
#21206E #6E2046 #6D6E20 #206E48
square
#21206E #6E2046 #6D6E20 #206E48
split-complementary
#21206E #6E4820 #466E20
monochromatic
#070718 #13123F #21206E #2F2E9D #4241C8

Accessibility & contrast

On white

14.03
#21206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#21206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21206E
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21206E#FFFFFF#000000##FFFFFF
##21206E1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #21206e;
/* rgb */ color: rgb(33, 32, 110);
/* oklch */ color: oklch(30.3% 0.131 275.8);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#21206e',
    950: '#000000',
  },
}
SCSS
$custom: #21206e;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#21206e",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 240.769,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30314,
    "c": 0.13059,
    "h": 275.8
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#21206E
secondary
#A1A248
accent
#DE4ADC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #21206E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21206E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva