#202496#202496

#202496 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.179 H 271.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#202496
RGBrgb(32, 36, 150)
HSLhsl(238, 65%, 36%)
HSVhsv(238, 79%, 59%)
CMYKcmyk(78.7%, 76%, 0%, 41.2%)
CIE-LABlab(22.90, 39.19, -61.94)
CIE-LCHlch(22.90, 73.30, 302.32°)
OKLaboklab(35.19% 0.0033 -0.1794)
OKLCHoklch(35.19% 0.179 271.1)
XYZxyz(6.7297, 3.7701, 29.2213)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202496 #969220
analogous
#205F96 #202496 #572096
triadic
#202496 #962024 #249620
tetradic
#202496 #96205F #969220 #209657
square
#202496 #96205F #969220 #209657
split-complementary
#202496 #965720 #5F9620
monochromatic
#0A0C31 #151864 #202496 #2B30C8 #565ADB

Accessibility & contrast

On white

11.97
#202496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202496
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202496#FFFFFF#000000##FFFFFF
##2024961.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202496;
/* rgb */ color: rgb(32, 36, 150);
/* oklch */ color: oklch(35.2% 0.179 271.1);
Tailwind
colors: {
  custom: {
    50: '#7160b6',
    500: '#202496',
    950: '#000000',
  },
}
SCSS
$custom: #202496;
$custom-light: #7160b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202496",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 237.966,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.17939,
    "h": 271.1
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202496

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

Preview Lab → · Contrast checker → · Palette generator →

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