#202889#202889

#202889 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.158 H 271.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#202889
RGBrgb(32, 40, 137)
HSLhsl(235, 62%, 33%)
HSVhsv(235, 77%, 54%)
CMYKcmyk(76.6%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.41, 32.06, -54.68)
CIE-LCHlch(22.41, 63.39, 300.39°)
OKLaboklab(34.43% 0.0033 -0.1582)
OKLCHoklch(34.43% 0.158 271.2)
XYZxyz(5.8683, 3.6302, 24.0535)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202889 #898120
analogous
#205C89 #202889 #4D2089
triadic
#202889 #892028 #288920
tetradic
#202889 #89205C #898120 #20894D
square
#202889 #89205C #898120 #20894D
split-complementary
#202889 #894D20 #5C8920
monochromatic
#090B26 #141A57 #202889 #2C36BB #4E58D6

Accessibility & contrast

On white

12.17
#202889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202889
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202889#FFFFFF#000000##FFFFFF
##2028891.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202889;
/* rgb */ color: rgb(32, 40, 137);
/* oklch */ color: oklch(34.4% 0.158 271.2);
Tailwind
colors: {
  custom: {
    50: '#6d62ac',
    500: '#202889',
    950: '#000000',
  },
}
SCSS
$custom: #202889;
$custom-light: #6d62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202889",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 235.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.15825,
    "h": 271.2
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#202889
secondary
#B9B04C
accent
#D943E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202889

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

Preview Lab → · Contrast checker → · Palette generator →

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