#202386#202386

#202386 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.160 H 272.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#202386
RGBrgb(32, 35, 134)
HSLhsl(238, 61%, 33%)
HSVhsv(238, 76%, 53%)
CMYKcmyk(76.1%, 73.9%, 0%, 47.5%)
CIE-LABlab(20.94, 34.14, -55.22)
CIE-LCHlch(20.94, 64.92, 301.73°)
OKLaboklab(33.28% 0.0065 -0.1598)
OKLCHoklch(33.28% 0.16 272.3)
XYZxyz(5.4983, 3.2298, 22.8833)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202386 #868320
analogous
#205686 #202386 #502086
triadic
#202386 #862023 #238620
tetradic
#202386 #862056 #868320 #208650
square
#202386 #862056 #868320 #208650
split-complementary
#202386 #865020 #568620
monochromatic
#080923 #141655 #202386 #2C30B7 #4C50D4

Accessibility & contrast

On white

12.76
#202386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202386
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202386#FFFFFF#000000##FFFFFF
##2023861.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.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: #202386;
/* rgb */ color: rgb(32, 35, 134);
/* oklch */ color: oklch(33.3% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#6d5faa',
    500: '#202386',
    950: '#000000',
  },
}
SCSS
$custom: #202386;
$custom-light: #6d5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#202386",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 238.235,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.15991,
    "h": 272.3
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#202386
secondary
#B7B44B
accent
#E043E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202386

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

Preview Lab → · Contrast checker → · Palette generator →

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