#21208A#21208A

#21208A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.168 H 272.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#21208A
RGBrgb(33, 32, 138)
HSLhsl(241, 62%, 33%)
HSVhsv(241, 77%, 54%)
CMYKcmyk(76.1%, 76.8%, 0%, 45.9%)
CIE-LABlab(20.79, 37.46, -57.97)
CIE-LCHlch(20.79, 69.02, 302.87°)
OKLaboklab(33.32% 0.0085 -0.1677)
OKLCHoklch(33.32% 0.168 272.9)
XYZxyz(5.7296, 3.1907, 24.3537)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21208A #898A20
analogous
#20548A #21208A #56208A
triadic
#21208A #8A2120 #208A21
tetradic
#21208A #8A2054 #898A20 #208A56
square
#21208A #8A2054 #898A20 #208A56
split-complementary
#21208A #8A5620 #548A20
monochromatic
#090927 #151458 #21208A #2D2CBC #504ED6

Accessibility & contrast

On white

12.82
#21208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#21208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21208A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21208A#FFFFFF#000000##FFFFFF
##21208A1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #21208a;
/* rgb */ color: rgb(33, 32, 138);
/* oklch */ color: oklch(33.3% 0.168 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f5dad',
    500: '#21208a',
    950: '#000000',
  },
}
SCSS
$custom: #21208a;
$custom-light: #6f5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#21208a",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 240.566,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33317,
    "c": 0.16796,
    "h": 272.9
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#21208A
secondary
#B8B94D
accent
#E542E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #21208A

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

Preview Lab → · Contrast checker → · Palette generator →

#21208A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva