#202886#202886

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

Color values

HEX#202886
RGBrgb(32, 40, 134)
HSLhsl(235, 61%, 33%)
HSVhsv(235, 76%, 53%)
CMYKcmyk(76.1%, 70.1%, 0%, 47.5%)
CIE-LABlab(22.11, 30.95, -53.30)
CIE-LCHlch(22.11, 61.63, 300.14°)
OKLaboklab(34.12% 0.0036 -0.1542)
OKLCHoklch(34.12% 0.154 271.3)
XYZxyz(5.6561, 3.5453, 22.9359)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202886 #867E20
analogous
#205B86 #202886 #4B2086
triadic
#202886 #862028 #288620
tetradic
#202886 #86205B #867E20 #20864B
square
#202886 #86205B #867E20 #20864B
split-complementary
#202886 #864B20 #5B8620
monochromatic
#080B23 #141955 #202886 #2C37B7 #4C57D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##202886#FFFFFF#000000##FFFFFF
##2028861.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)
#003A89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202886;
/* rgb */ color: rgb(32, 40, 134);
/* oklch */ color: oklch(34.1% 0.154 271.3);
Tailwind
colors: {
  custom: {
    50: '#6d62aa',
    500: '#202886',
    950: '#000000',
  },
}
SCSS
$custom: #202886;
$custom-light: #6d62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#202886",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 235.294,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34117,
    "c": 0.15422,
    "h": 271.3
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#202886
secondary
#B7AF4B
accent
#D843E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202886

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

Preview Lab → · Contrast checker → · Palette generator →

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