#202389#202389

#202389 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.164 H 272.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#202389
RGBrgb(32, 35, 137)
HSLhsl(238, 62%, 33%)
HSVhsv(238, 77%, 54%)
CMYKcmyk(76.6%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.26, 35.22, -56.57)
CIE-LCHlch(21.26, 66.64, 301.90°)
OKLaboklab(33.6% 0.006 -0.1637)
OKLCHoklch(33.6% 0.164 272.1)
XYZxyz(5.7105, 3.3147, 24.0009)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202389 #898620
analogous
#205789 #202389 #512089
triadic
#202389 #892023 #238920
tetradic
#202389 #892057 #898620 #208951
square
#202389 #892057 #898620 #208951
split-complementary
#202389 #895120 #578920
monochromatic
#090A26 #141657 #202389 #2C30BB #4E52D6

Accessibility & contrast

On white

12.63
#202389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202389
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202389#FFFFFF#000000##FFFFFF
##2023891.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202389;
/* rgb */ color: rgb(32, 35, 137);
/* oklch */ color: oklch(33.6% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e5fad',
    500: '#202389',
    950: '#000000',
  },
}
SCSS
$custom: #202389;
$custom-light: #6e5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#202389",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 238.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33603,
    "c": 0.16383,
    "h": 272.1
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#202389
secondary
#B9B54C
accent
#E143E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202389

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

Preview Lab → · Contrast checker → · Palette generator →

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