#202097#202097

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

Color values

HEX#202097
RGBrgb(32, 32, 151)
HSLhsl(240, 65%, 36%)
HSVhsv(240, 79%, 59%)
CMYKcmyk(78.8%, 78.8%, 0%, 40.8%)
CIE-LABlab(22.21, 41.81, -63.70)
CIE-LCHlch(22.21, 76.19, 303.28°)
OKLaboklab(34.74% 0.0047 -0.1844)
OKLCHoklch(34.74% 0.184 271.5)
XYZxyz(6.6962, 3.5737, 29.6090)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202097 #979720
analogous
#205B97 #202097 #5B2097
triadic
#202097 #972020 #209720
tetradic
#202097 #97205B #979720 #20975B
square
#202097 #97205B #979720 #20975B
split-complementary
#202097 #975B20 #5B9720
monochromatic
#0B0B32 #151564 #202097 #2B2BC9 #5656DB

Accessibility & contrast

On white

12.25
#202097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202097
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202097#FFFFFF#000000##FFFFFF
##2020971.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202097;
/* rgb */ color: rgb(32, 32, 151);
/* oklch */ color: oklch(34.7% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#725eb7',
    500: '#202097',
    950: '#000000',
  },
}
SCSS
$custom: #202097;
$custom-light: #725eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#202097",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34736,
    "c": 0.18447,
    "h": 271.5
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#202097
secondary
#BFBF54
accent
#E840E8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #202097

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

Preview Lab → · Contrast checker → · Palette generator →

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