#20215E#20215E

#20215E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.106 H 276.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#20215E
RGBrgb(32, 33, 94)
HSLhsl(239, 49%, 25%)
HSVhsv(239, 66%, 37%)
CMYKcmyk(66%, 64.9%, 0%, 63.1%)
CIE-LABlab(16.52, 20.60, -36.65)
CIE-LCHlch(16.52, 42.04, 299.34°)
OKLaboklab(28.87% 0.0124 -0.1054)
OKLCHoklch(28.87% 0.106 276.7)
XYZxyz(3.1592, 2.2027, 10.8462)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20215E #5E5D20
analogous
#20405E #20215E #3E205E
triadic
#20215E #5E2021 #215E20
tetradic
#20215E #5E2040 #5E5D20 #205E3E
square
#20215E #5E2040 #5E5D20 #205E3E
split-complementary
#20215E #5E3E20 #405E20
monochromatic
#080817 #101130 #20215E #30318C #3F41B9

Accessibility & contrast

On white

14.58
#20215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#20215E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20215E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20215E#FFFFFF#000000##FFFFFF
##20215E1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #20215e;
/* rgb */ color: rgb(32, 33, 94);
/* oklch */ color: oklch(28.9% 0.106 276.7);
Tailwind
colors: {
  custom: {
    50: '#635c8c',
    500: '#20215e',
    950: '#000000',
  },
}
SCSS
$custom: #20215e;
$custom-light: #635c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20215e",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 239.032,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28867,
    "c": 0.10617,
    "h": 276.7
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#20215E
secondary
#929147
accent
#D74FD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20215E

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

Preview Lab → · Contrast checker → · Palette generator →

#20215E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva