#202159#202159

#202159 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.099 H 277.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#202159
RGBrgb(32, 33, 89)
HSLhsl(239, 47%, 24%)
HSVhsv(239, 64%, 35%)
CMYKcmyk(64%, 62.9%, 0%, 65.1%)
CIE-LABlab(16.08, 18.70, -34.02)
CIE-LCHlch(16.08, 38.82, 298.80°)
OKLaboklab(28.41% 0.0126 -0.0977)
OKLCHoklch(28.41% 0.099 277.3)
XYZxyz(2.9421, 2.1158, 9.7026)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202159 #595820
analogous
#203D59 #202159 #3B2059
triadic
#202159 #592021 #215920
tetradic
#202159 #59203D #595820 #20593B
square
#202159 #59203D #595820 #20593B
split-complementary
#202159 #593B20 #3D5920
monochromatic
#080817 #10102C #202159 #303286 #4042B3

Accessibility & contrast

On white

14.76
#202159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#202159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202159
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202159#FFFFFF#000000##FFFFFF
##2021591.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #202159;
/* rgb */ color: rgb(32, 33, 89);
/* oklch */ color: oklch(28.4% 0.099 277.3);
Tailwind
colors: {
  custom: {
    50: '#625c88',
    500: '#202159',
    950: '#000000',
  },
}
SCSS
$custom: #202159;
$custom-light: #625c88;
$custom-dark: #000000;
JSON
{
  "hex": "#202159",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 238.947,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28411,
    "c": 0.0985,
    "h": 277.3
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

primary
#202159
secondary
#8D8C47
accent
#D451D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202159

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

Preview Lab → · Contrast checker → · Palette generator →

#202159 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva