#202096#202096

#202096 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.183 H 271.5°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#202096
RGBrgb(32, 32, 150)
HSLhsl(240, 65%, 36%)
HSVhsv(240, 79%, 59%)
CMYKcmyk(78.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(22.09, 41.48, -63.27)
CIE-LCHlch(22.09, 75.65, 303.25°)
OKLaboklab(34.62% 0.0049 -0.1832)
OKLCHoklch(34.62% 0.183 271.5)
XYZxyz(6.6153, 3.5414, 29.1832)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202096 #969620
analogous
#205B96 #202096 #5B2096
triadic
#202096 #962020 #209620
tetradic
#202096 #96205B #969620 #20965B
square
#202096 #96205B #969620 #20965B
split-complementary
#202096 #965B20 #5B9620
monochromatic
#0A0A31 #151564 #202096 #2B2BC8 #5656DB

Accessibility & contrast

On white

12.29
#202096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202096
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202096#FFFFFF#000000##FFFFFF
##2020961.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202096;
/* rgb */ color: rgb(32, 32, 150);
/* oklch */ color: oklch(34.6% 0.183 271.5);
Tailwind
colors: {
  custom: {
    50: '#725eb6',
    500: '#202096',
    950: '#000000',
  },
}
SCSS
$custom: #202096;
$custom-light: #725eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#202096",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3462,
    "c": 0.18324,
    "h": 271.5
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202096

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

Preview Lab → · Contrast checker → · Palette generator →

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