#21207A#21207A

#21207A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.147 H 274.5°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#21207A
RGBrgb(33, 32, 122)
HSLhsl(241, 58%, 30%)
HSVhsv(241, 74%, 48%)
CMYKcmyk(73%, 73.8%, 0%, 52.2%)
CIE-LABlab(19.06, 31.82, -50.71)
CIE-LCHlch(19.06, 59.87, 302.10°)
OKLaboklab(31.57% 0.0114 -0.1466)
OKLCHoklch(31.57% 0.147 274.5)
XYZxyz(4.6554, 2.7611, 18.6962)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21207A #797A20
analogous
#204C7A #21207A #4E207A
triadic
#21207A #7A2120 #207A21
tetradic
#21207A #7A204C #797A20 #207A4E
square
#21207A #7A204C #797A20 #207A4E
split-complementary
#21207A #7A4E20 #4C7A20
monochromatic
#070719 #14134A #21207A #2E2DAA #4746CE

Accessibility & contrast

On white

13.53
#21207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#21207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21207A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21207A#FFFFFF#000000##FFFFFF
##21207A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #21207a;
/* rgb */ color: rgb(33, 32, 122);
/* oklch */ color: oklch(31.6% 0.147 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b5ca1',
    500: '#21207a',
    950: '#000000',
  },
}
SCSS
$custom: #21207a;
$custom-light: #6b5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#21207a",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 240.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31567,
    "c": 0.14706,
    "h": 274.5
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#21207A
secondary
#ACAD49
accent
#E246E0
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #21207A

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

Preview Lab → · Contrast checker → · Palette generator →

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