#202198#202198

#202198 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.185 H 271.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#202198
RGBrgb(32, 33, 152)
HSLhsl(240, 65%, 36%)
HSVhsv(240, 79%, 60%)
CMYKcmyk(78.9%, 78.3%, 0%, 40.4%)
CIE-LABlab(22.52, 41.60, -63.80)
CIE-LCHlch(22.52, 76.16, 303.10°)
OKLaboklab(34.99% 0.0041 -0.1847)
OKLCHoklch(34.99% 0.185 271.3)
XYZxyz(6.8051, 3.6610, 30.0477)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202198 #989720
analogous
#205D98 #202198 #5B2098
triadic
#202198 #982021 #219820
tetradic
#202198 #98205D #989720 #20985B
square
#202198 #98205D #989720 #20985B
split-complementary
#202198 #985B20 #5D9820
monochromatic
#0B0B33 #151665 #202198 #2B2CCB #5758DC

Accessibility & contrast

On white

12.12
#202198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202198
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202198#FFFFFF#000000##FFFFFF
##2021981.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202198;
/* rgb */ color: rgb(32, 33, 152);
/* oklch */ color: oklch(35.0% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#725eb8',
    500: '#202198',
    950: '#000000',
  },
}
SCSS
$custom: #202198;
$custom-light: #725eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#202198",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 239.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.18477,
    "h": 271.3
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#202198
secondary
#BFBE54
accent
#E740E8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #202198

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

Preview Lab → · Contrast checker → · Palette generator →

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