#21206A#21206A

#21206A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.125 H 276.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#21206A
RGBrgb(33, 32, 106)
HSLhsl(241, 54%, 27%)
HSVhsv(241, 70%, 42%)
CMYKcmyk(68.9%, 69.8%, 0%, 58.4%)
CIE-LABlab(17.44, 25.97, -43.04)
CIE-LCHlch(17.44, 50.27, 301.11°)
OKLaboklab(29.91% 0.0138 -0.1242)
OKLCHoklch(29.91% 0.125 276.3)
XYZxyz(3.7444, 2.3966, 13.8982)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21206A #696A20
analogous
#20446A #21206A #46206A
triadic
#21206A #6A2120 #206A21
tetradic
#21206A #6A2044 #696A20 #206A46
square
#21206A #6A2044 #696A20 #206A46
split-complementary
#21206A #6A4620 #446A20
monochromatic
#070718 #12123B #21206A #302E99 #413FC5

Accessibility & contrast

On white

14.19
#21206A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#21206A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21206A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21206A#FFFFFF#000000##FFFFFF
##21206A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #21206a;
/* rgb */ color: rgb(33, 32, 106);
/* oklch */ color: oklch(29.9% 0.125 276.3);
Tailwind
colors: {
  custom: {
    50: '#675c95',
    500: '#21206a',
    950: '#000000',
  },
}
SCSS
$custom: #21206a;
$custom-light: #675c95;
$custom-dark: #000000;
JSON
{
  "hex": "#21206a",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 106
  },
  "hsl": {
    "h": 240.811,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.2991,
    "c": 0.12492,
    "h": 276.3
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#21206A
secondary
#9D9E48
accent
#DD4BDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #21206A

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

Preview Lab → · Contrast checker → · Palette generator →

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