#202489#202489

#202489 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.163 H 271.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#202489
RGBrgb(32, 36, 137)
HSLhsl(238, 62%, 33%)
HSVhsv(238, 77%, 54%)
CMYKcmyk(76.6%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.48, 34.60, -56.20)
CIE-LCHlch(21.48, 66.00, 301.62°)
OKLaboklab(33.76% 0.0055 -0.1626)
OKLCHoklch(33.76% 0.163 271.9)
XYZxyz(5.7404, 3.3744, 24.0108)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202489 #898520
analogous
#205889 #202489 #502089
triadic
#202489 #892024 #248920
tetradic
#202489 #892058 #898520 #208950
square
#202489 #892058 #898520 #208950
split-complementary
#202489 #895020 #588920
monochromatic
#090A26 #141757 #202489 #2C31BB #4E53D6

Accessibility & contrast

On white

12.54
#202489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#202489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202489
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202489#FFFFFF#000000##FFFFFF
##2024891.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202489;
/* rgb */ color: rgb(32, 36, 137);
/* oklch */ color: oklch(33.8% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#6e5fac',
    500: '#202489',
    950: '#000000',
  },
}
SCSS
$custom: #202489;
$custom-light: #6e5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#202489",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 237.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.16274,
    "h": 271.9
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#202489
secondary
#B9B44C
accent
#DF43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202489

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

Preview Lab → · Contrast checker → · Palette generator →

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