#202588#202588

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

Color values

HEX#202588
RGBrgb(32, 37, 136)
HSLhsl(237, 62%, 33%)
HSVhsv(237, 76%, 53%)
CMYKcmyk(76.5%, 72.8%, 0%, 46.7%)
CIE-LABlab(21.61, 33.61, -55.38)
CIE-LCHlch(21.61, 64.78, 301.26°)
OKLaboklab(33.82% 0.0051 -0.1602)
OKLCHoklch(33.82% 0.16 271.8)
XYZxyz(5.6997, 3.4072, 23.6450)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202588 #888320
analogous
#205988 #202588 #4F2088
triadic
#202588 #882025 #258820
tetradic
#202588 #882059 #888320 #20884F
square
#202588 #882059 #888320 #20884F
split-complementary
#202588 #884F20 #598820
monochromatic
#090A25 #141856 #202588 #2C32BA #4D54D5

Accessibility & contrast

On white

12.49
#202588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202588
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202588#FFFFFF#000000##FFFFFF
##2025881.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202588;
/* rgb */ color: rgb(32, 37, 136);
/* oklch */ color: oklch(33.8% 0.160 271.8);
Tailwind
colors: {
  custom: {
    50: '#6d60ac',
    500: '#202588',
    950: '#000000',
  },
}
SCSS
$custom: #202588;
$custom-light: #6d60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202588",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 237.115,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33817,
    "c": 0.16033,
    "h": 271.8
  },
  "luminance": 0.03408
}

Semantic roles & 50–950 ramp

primary
#202588
secondary
#B8B34C
accent
#DD43E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202588

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

Preview Lab → · Contrast checker → · Palette generator →

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