#20214C#20214C

#20214C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.078 H 278.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#20214C
RGBrgb(32, 33, 76)
HSLhsl(239, 41%, 21%)
HSVhsv(239, 58%, 30%)
CMYKcmyk(57.9%, 56.6%, 0%, 70.2%)
CIE-LABlab(15.04, 13.77, -26.89)
CIE-LCHlch(15.04, 30.21, 297.11°)
OKLaboklab(27.3% 0.0121 -0.0767)
OKLCHoklch(27.3% 0.078 278.9)
XYZxyz(2.4436, 1.9164, 7.0772)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20214C #4C4B20
analogous
#20374C #20214C #35204C
triadic
#20214C #4C2021 #214C20
tetradic
#20214C #4C2037 #4C4B20 #204C35
square
#20214C #4C2037 #4C4B20 #204C35
split-complementary
#20214C #4C3520 #374C20
monochromatic
#090916 #0E0E21 #20214C #323477 #4446A2

Accessibility & contrast

On white

15.18
#20214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#20214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20214C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20214C#FFFFFF#000000##FFFFFF
##20214C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284E
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#0D2B33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #20214c;
/* rgb */ color: rgb(32, 33, 76);
/* oklch */ color: oklch(27.3% 0.078 278.9);
Tailwind
colors: {
  custom: {
    50: '#605c7e',
    500: '#20214c',
    950: '#000000',
  },
}
SCSS
$custom: #20214c;
$custom-light: #605c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#20214c",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 238.636,
    "s": 40.741,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27303,
    "c": 0.07768,
    "h": 278.9
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#20214C
secondary
#807F47
accent
#CE57D1
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #20214C

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

Preview Lab → · Contrast checker → · Palette generator →

#20214C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva