#202189#202189

#202189 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.166 H 272.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202189
RGBrgb(32, 33, 137)
HSLhsl(239, 62%, 33%)
HSVhsv(239, 77%, 54%)
CMYKcmyk(76.6%, 75.9%, 0%, 46.3%)
CIE-LABlab(20.83, 36.43, -57.28)
CIE-LCHlch(20.83, 67.89, 302.46°)
OKLaboklab(33.29% 0.007 -0.1658)
OKLCHoklch(33.29% 0.166 272.4)
XYZxyz(5.6534, 3.2003, 23.9818)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202189 #898820
analogous
#205589 #202189 #542089
triadic
#202189 #892021 #218920
tetradic
#202189 #892055 #898820 #208954
square
#202189 #892055 #898820 #208954
split-complementary
#202189 #895420 #558920
monochromatic
#090926 #141557 #202189 #2C2DBB #4E4FD6

Accessibility & contrast

On white

12.80
#202189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202189
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202189#FFFFFF#000000##FFFFFF
##2021891.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202189;
/* rgb */ color: rgb(32, 33, 137);
/* oklch */ color: oklch(33.3% 0.166 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e5ead',
    500: '#202189',
    950: '#000000',
  },
}
SCSS
$custom: #202189;
$custom-light: #6e5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#202189",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 239.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33294,
    "c": 0.16594,
    "h": 272.4
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#202189
secondary
#B9B84C
accent
#E443E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202189

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

Preview Lab → · Contrast checker → · Palette generator →

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