#21206D#21206D

#21206D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.129 H 276.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#21206D
RGBrgb(33, 32, 109)
HSLhsl(241, 55%, 28%)
HSVhsv(241, 71%, 43%)
CMYKcmyk(69.7%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.74, 27.08, -44.51)
CIE-LCHlch(17.74, 52.10, 301.32°)
OKLaboklab(30.21% 0.0134 -0.1285)
OKLCHoklch(30.21% 0.129 276)
XYZxyz(3.9031, 2.4601, 14.7342)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21206D #6C6D20
analogous
#20466D #21206D #47206D
triadic
#21206D #6D2120 #206D21
tetradic
#21206D #6D2046 #6C6D20 #206D47
square
#21206D #6D2046 #6C6D20 #206D47
split-complementary
#21206D #6D4720 #466D20
monochromatic
#070718 #13123E #21206D #2F2E9C #4240C7

Accessibility & contrast

On white

14.08
#21206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#21206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21206D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21206D#FFFFFF#000000##FFFFFF
##21206D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #21206d;
/* rgb */ color: rgb(33, 32, 109);
/* oklch */ color: oklch(30.2% 0.129 276.0);
Tailwind
colors: {
  custom: {
    50: '#685c98',
    500: '#21206d',
    950: '#000000',
  },
}
SCSS
$custom: #21206d;
$custom-light: #685c98;
$custom-dark: #000000;
JSON
{
  "hex": "#21206d",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 240.779,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30212,
    "c": 0.12918,
    "h": 276
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21206D

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

Preview Lab → · Contrast checker → · Palette generator →

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