#202597#202597

#202597 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.180 H 270.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#202597
RGBrgb(32, 37, 151)
HSLhsl(237, 65%, 36%)
HSVhsv(237, 79%, 59%)
CMYKcmyk(78.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.22, 38.95, -62.03)
CIE-LCHlch(23.22, 73.25, 302.13°)
OKLaboklab(35.45% 0.0028 -0.1796)
OKLCHoklch(35.45% 0.18 270.9)
XYZxyz(6.8412, 3.8638, 29.6574)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202597 #979220
analogous
#206097 #202597 #562097
triadic
#202597 #972025 #259720
tetradic
#202597 #972060 #979220 #209756
square
#202597 #972060 #979220 #209756
split-complementary
#202597 #975620 #609720
monochromatic
#0B0C32 #151964 #202597 #2B31C9 #565CDB

Accessibility & contrast

On white

11.84
#202597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#202597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202597
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202597#FFFFFF#000000##FFFFFF
##2025971.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202597;
/* rgb */ color: rgb(32, 37, 151);
/* oklch */ color: oklch(35.4% 0.180 270.9);
Tailwind
colors: {
  custom: {
    50: '#7161b7',
    500: '#202597',
    950: '#000000',
  },
}
SCSS
$custom: #202597;
$custom-light: #7161b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202597",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 237.479,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.17964,
    "h": 270.9
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#202597
secondary
#BFBA54
accent
#E140E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202597

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

Preview Lab → · Contrast checker → · Palette generator →

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