#202188#202188

#202188 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.165 H 272.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#202188
RGBrgb(32, 33, 136)
HSLhsl(239, 62%, 33%)
HSVhsv(239, 76%, 53%)
CMYKcmyk(76.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(20.72, 36.08, -56.84)
CIE-LCHlch(20.72, 67.32, 302.41°)
OKLaboklab(33.18% 0.0072 -0.1645)
OKLCHoklch(33.18% 0.165 272.5)
XYZxyz(5.5820, 3.1718, 23.6058)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202188 #888720
analogous
#205588 #202188 #532088
triadic
#202188 #882021 #218820
tetradic
#202188 #882055 #888720 #208853
square
#202188 #882055 #888720 #208853
split-complementary
#202188 #885320 #558820
monochromatic
#090925 #141556 #202188 #2C2DBA #4D4FD5

Accessibility & contrast

On white

12.85
#202188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202188
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202188#FFFFFF#000000##FFFFFF
##2021881.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202188;
/* rgb */ color: rgb(32, 33, 136);
/* oklch */ color: oklch(33.2% 0.165 272.5);
Tailwind
colors: {
  custom: {
    50: '#6e5dac',
    500: '#202188',
    950: '#000000',
  },
}
SCSS
$custom: #202188;
$custom-light: #6e5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#202188",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 239.423,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.16465,
    "h": 272.5
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#202188
secondary
#B8B74C
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202188

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

Preview Lab → · Contrast checker → · Palette generator →

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