#202196#202196

#202196 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.182 H 271.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#202196
RGBrgb(32, 33, 150)
HSLhsl(239, 65%, 36%)
HSVhsv(239, 79%, 59%)
CMYKcmyk(78.7%, 78%, 0%, 41.2%)
CIE-LABlab(22.29, 40.92, -62.95)
CIE-LCHlch(22.29, 75.08, 303.02°)
OKLaboklab(34.76% 0.0045 -0.1822)
OKLCHoklch(34.76% 0.182 271.4)
XYZxyz(6.6427, 3.5961, 29.1923)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202196 #969520
analogous
#205C96 #202196 #5A2096
triadic
#202196 #962021 #219620
tetradic
#202196 #96205C #969520 #20965A
square
#202196 #96205C #969520 #20965A
split-complementary
#202196 #965A20 #5C9620
monochromatic
#0A0B31 #151664 #202196 #2B2CC8 #5657DB

Accessibility & contrast

On white

12.21
#202196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202196
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202196#FFFFFF#000000##FFFFFF
##2021961.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.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: #202196;
/* rgb */ color: rgb(32, 33, 150);
/* oklch */ color: oklch(34.8% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#725eb6',
    500: '#202196',
    950: '#000000',
  },
}
SCSS
$custom: #202196;
$custom-light: #725eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#202196",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 239.492,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34758,
    "c": 0.18231,
    "h": 271.4
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202196

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

Preview Lab → · Contrast checker → · Palette generator →

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