#202796#202796

#202796 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.176 H 270.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#202796
RGBrgb(32, 39, 150)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 59%)
CMYKcmyk(78.7%, 74%, 0%, 41.2%)
CIE-LABlab(23.54, 37.40, -60.89)
CIE-LCHlch(23.54, 71.45, 301.56°)
OKLaboklab(35.64% 0.0021 -0.1763)
OKLCHoklch(35.64% 0.176 270.7)
XYZxyz(6.8243, 3.9594, 29.2528)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202796 #968F20
analogous
#206296 #202796 #542096
triadic
#202796 #962027 #279620
tetradic
#202796 #962062 #968F20 #209654
square
#202796 #962062 #968F20 #209654
split-complementary
#202796 #965420 #629620
monochromatic
#0A0D31 #151A64 #202796 #2B34C8 #565DDB

Accessibility & contrast

On white

11.72
#202796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202796
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202796#FFFFFF#000000##FFFFFF
##2027961.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202796;
/* rgb */ color: rgb(32, 39, 150);
/* oklch */ color: oklch(35.6% 0.176 270.7);
Tailwind
colors: {
  custom: {
    50: '#7162b6',
    500: '#202796',
    950: '#000000',
  },
}
SCSS
$custom: #202796;
$custom-light: #7162b6;
$custom-dark: #000000;
JSON
{
  "hex": "#202796",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 236.441,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35644,
    "c": 0.17631,
    "h": 270.7
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#202796
secondary
#BEB853
accent
#DE40E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #202796

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

Preview Lab → · Contrast checker → · Palette generator →

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