#202786#202786

#202786 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.155 H 271.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#202786
RGBrgb(32, 39, 134)
HSLhsl(236, 61%, 33%)
HSVhsv(236, 76%, 53%)
CMYKcmyk(76.1%, 70.9%, 0%, 47.5%)
CIE-LABlab(21.87, 31.60, -53.69)
CIE-LCHlch(21.87, 62.30, 300.48°)
OKLaboklab(33.94% 0.0042 -0.1553)
OKLCHoklch(33.94% 0.155 271.6)
XYZxyz(5.6228, 3.4788, 22.9248)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202786 #867F20
analogous
#205A86 #202786 #4C2086
triadic
#202786 #862027 #278620
tetradic
#202786 #86205A #867F20 #20864C
square
#202786 #86205A #867F20 #20864C
split-complementary
#202786 #864C20 #5A8620
monochromatic
#080A23 #141955 #202786 #2C35B7 #4C55D4

Accessibility & contrast

On white

12.38
#202786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202786
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202786#FFFFFF#000000##FFFFFF
##2027861.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202786;
/* rgb */ color: rgb(32, 39, 134);
/* oklch */ color: oklch(33.9% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d61aa',
    500: '#202786',
    950: '#000000',
  },
}
SCSS
$custom: #202786;
$custom-light: #6d61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#202786",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 235.882,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33943,
    "c": 0.1554,
    "h": 271.6
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#202786
secondary
#B7B04B
accent
#D943E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202786

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

Preview Lab → · Contrast checker → · Palette generator →

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