#202286#202286

#202286 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.161 H 272.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#202286
RGBrgb(32, 34, 134)
HSLhsl(239, 61%, 33%)
HSVhsv(239, 76%, 53%)
CMYKcmyk(76.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(20.72, 34.76, -55.58)
CIE-LCHlch(20.72, 65.56, 302.02°)
OKLaboklab(33.12% 0.007 -0.1608)
OKLCHoklch(33.12% 0.161 272.5)
XYZxyz(5.4693, 3.1718, 22.8736)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202286 #868420
analogous
#205586 #202286 #512086
triadic
#202286 #862022 #228620
tetradic
#202286 #862055 #868420 #208651
square
#202286 #862055 #868420 #208651
split-complementary
#202286 #865120 #558620
monochromatic
#080923 #141555 #202286 #2C2FB7 #4C4FD4

Accessibility & contrast

On white

12.85
#202286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202286
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202286#FFFFFF#000000##FFFFFF
##2022861.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202286;
/* rgb */ color: rgb(32, 34, 134);
/* oklch */ color: oklch(33.1% 0.161 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d5eaa',
    500: '#202286',
    950: '#000000',
  },
}
SCSS
$custom: #202286;
$custom-light: #6d5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#202286",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 238.824,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.16099,
    "h": 272.5
  },
  "luminance": 0.03172
}

Semantic roles & 50–950 ramp

primary
#202286
secondary
#B7B54B
accent
#E143E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202286

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

Preview Lab → · Contrast checker → · Palette generator →

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