#202197#202197

#202197 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.184 H 271.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#202197
RGBrgb(32, 33, 151)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 59%)
CMYKcmyk(78.8%, 78.1%, 0%, 40.8%)
CIE-LABlab(22.40, 41.26, -63.38)
CIE-LCHlch(22.40, 75.62, 303.06°)
OKLaboklab(34.87% 0.0043 -0.1835)
OKLCHoklch(34.87% 0.184 271.3)
XYZxyz(6.7235, 3.6284, 29.6182)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202197 #979620
analogous
#205C97 #202197 #5A2097
triadic
#202197 #972021 #219720
tetradic
#202197 #97205C #979620 #20975A
square
#202197 #97205C #979620 #20975A
split-complementary
#202197 #975A20 #5C9720
monochromatic
#0B0B32 #151664 #202197 #2B2CC9 #5657DB

Accessibility & contrast

On white

12.17
#202197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202197
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202197#FFFFFF#000000##FFFFFF
##2021971.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202197;
/* rgb */ color: rgb(32, 33, 151);
/* oklch */ color: oklch(34.9% 0.184 271.3);
Tailwind
colors: {
  custom: {
    50: '#725eb7',
    500: '#202197',
    950: '#000000',
  },
}
SCSS
$custom: #202197;
$custom-light: #725eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#202197",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 239.496,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34872,
    "c": 0.18354,
    "h": 271.3
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202197

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

Preview Lab → · Contrast checker → · Palette generator →

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