#20216D#20216D

#20216D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.128 H 275.0°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#20216D
RGBrgb(32, 33, 109)
HSLhsl(239, 55%, 28%)
HSVhsv(239, 71%, 43%)
CMYKcmyk(70.6%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.91, 26.27, -44.23)
CIE-LCHlch(17.91, 51.44, 300.71°)
OKLaboklab(30.32% 0.0113 -0.1277)
OKLCHoklch(30.32% 0.128 275)
XYZxyz(3.8989, 2.4986, 14.7418)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20216D #6D6C20
analogous
#20476D #20216D #46206D
triadic
#20216D #6D2021 #216D20
tetradic
#20216D #6D2047 #6D6C20 #206D46
square
#20216D #6D2047 #6D6C20 #206D46
split-complementary
#20216D #6D4620 #476D20
monochromatic
#070718 #12133E #20216D #2E2F9C #4042C7

Accessibility & contrast

On white

14.00
#20216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#20216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20216D
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20216D#FFFFFF#000000##FFFFFF
##20216D1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20216d;
/* rgb */ color: rgb(32, 33, 109);
/* oklch */ color: oklch(30.3% 0.128 275.0);
Tailwind
colors: {
  custom: {
    50: '#675c98',
    500: '#20216d',
    950: '#000000',
  },
}
SCSS
$custom: #20216d;
$custom-light: #675c98;
$custom-dark: #000000;
JSON
{
  "hex": "#20216d",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 239.221,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3032,
    "c": 0.12818,
    "h": 275
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#20216D
secondary
#A1A048
accent
#DC4ADE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20216D

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

Preview Lab → · Contrast checker → · Palette generator →

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