#202287#202287

#202287 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.162 H 272.4°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#202287
RGBrgb(32, 34, 135)
HSLhsl(239, 62%, 33%)
HSVhsv(239, 76%, 53%)
CMYKcmyk(76.3%, 74.8%, 0%, 47.1%)
CIE-LABlab(20.83, 35.12, -56.03)
CIE-LCHlch(20.83, 66.13, 302.08°)
OKLaboklab(33.23% 0.0068 -0.1621)
OKLCHoklch(33.23% 0.162 272.4)
XYZxyz(5.5394, 3.1998, 23.2427)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202287 #878520
analogous
#205587 #202287 #512087
triadic
#202287 #872022 #228720
tetradic
#202287 #872055 #878520 #208751
square
#202287 #872055 #878520 #208751
split-complementary
#202287 #875120 #558720
monochromatic
#090924 #141656 #202287 #2C2EB8 #4D4FD5

Accessibility & contrast

On white

12.80
#202287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202287
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202287#FFFFFF#000000##FFFFFF
##2022871.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202287;
/* rgb */ color: rgb(32, 34, 135);
/* oklch */ color: oklch(33.2% 0.162 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e5eab',
    500: '#202287',
    950: '#000000',
  },
}
SCSS
$custom: #202287;
$custom-light: #6e5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#202287",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 238.835,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.16229,
    "h": 272.4
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#202287
secondary
#B8B64B
accent
#E243E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202287

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

Preview Lab → · Contrast checker → · Palette generator →

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