#202497#202497

#202497 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.181 H 271.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#202497
RGBrgb(32, 36, 151)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 59%)
CMYKcmyk(78.8%, 76.2%, 0%, 40.8%)
CIE-LABlab(23.01, 39.54, -62.38)
CIE-LCHlch(23.01, 73.85, 302.37°)
OKLaboklab(35.3% 0.0032 -0.1806)
OKLCHoklch(35.3% 0.181 271)
XYZxyz(6.8106, 3.8024, 29.6472)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202497 #979320
analogous
#205F97 #202497 #572097
triadic
#202497 #972024 #249720
tetradic
#202497 #97205F #979320 #209757
square
#202497 #97205F #979320 #209757
split-complementary
#202497 #975720 #5F9720
monochromatic
#0B0C32 #151864 #202497 #2B30C9 #565BDB

Accessibility & contrast

On white

11.93
#202497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#202497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202497
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202497#FFFFFF#000000##FFFFFF
##2024971.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.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: #202497;
/* rgb */ color: rgb(32, 36, 151);
/* oklch */ color: oklch(35.3% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#7160b7',
    500: '#202497',
    950: '#000000',
  },
}
SCSS
$custom: #202497;
$custom-light: #7160b7;
$custom-dark: #000000;
JSON
{
  "hex": "#202497",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 237.983,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.18065,
    "h": 271
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#202497
secondary
#BFBB54
accent
#E240E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202497

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

Preview Lab → · Contrast checker → · Palette generator →

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