#21206F#21206F

#21206F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.132 H 275.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#21206F
RGBrgb(33, 32, 111)
HSLhsl(241, 55%, 28%)
HSVhsv(241, 71%, 44%)
CMYKcmyk(70.3%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.94, 27.82, -45.49)
CIE-LCHlch(17.94, 53.32, 301.45°)
OKLaboklab(30.42% 0.0131 -0.1313)
OKLCHoklch(30.42% 0.132 275.7)
XYZxyz(4.0120, 2.5037, 15.3077)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21206F #6E6F20
analogous
#20476F #21206F #48206F
triadic
#21206F #6F2120 #206F21
tetradic
#21206F #6F2047 #6E6F20 #206F48
square
#21206F #6F2047 #6E6F20 #206F48
split-complementary
#21206F #6F4820 #476F20
monochromatic
#070718 #13123F #21206F #2F2E9F #4341C8

Accessibility & contrast

On white

13.99
#21206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21206F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21206F#FFFFFF#000000##FFFFFF
##21206F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21206f;
/* rgb */ color: rgb(33, 32, 111);
/* oklch */ color: oklch(30.4% 0.132 275.7);
Tailwind
colors: {
  custom: {
    50: '#685c99',
    500: '#21206f',
    950: '#000000',
  },
}
SCSS
$custom: #21206f;
$custom-light: #685c99;
$custom-dark: #000000;
JSON
{
  "hex": "#21206f",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 240.759,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.13199,
    "h": 275.7
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#21206F
secondary
#A2A348
accent
#DF49DD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #21206F

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

Preview Lab → · Contrast checker → · Palette generator →

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