#202284#202284

#202284 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.158 H 272.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#202284
RGBrgb(32, 34, 132)
HSLhsl(239, 61%, 32%)
HSVhsv(239, 76%, 52%)
CMYKcmyk(75.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.50, 34.05, -54.68)
CIE-LCHlch(20.50, 64.41, 301.91°)
OKLaboklab(32.9% 0.0073 -0.1582)
OKLCHoklch(32.9% 0.158 272.7)
XYZxyz(5.3312, 3.1165, 22.1459)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202284 #848220
analogous
#205484 #202284 #502084
triadic
#202284 #842022 #228420
tetradic
#202284 #842054 #848220 #208450
square
#202284 #842054 #848220 #208450
split-complementary
#202284 #845020 #548420
monochromatic
#080921 #141553 #202284 #2C2FB5 #4B4ED3

Accessibility & contrast

On white

12.94
#202284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202284
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202284#FFFFFF#000000##FFFFFF
##2022841.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202284;
/* rgb */ color: rgb(32, 34, 132);
/* oklch */ color: oklch(32.9% 0.158 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5ea9',
    500: '#202284',
    950: '#000000',
  },
}
SCSS
$custom: #202284;
$custom-light: #6d5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#202284",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 238.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.15838,
    "h": 272.7
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#202284
secondary
#B6B44A
accent
#E144E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202284

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

Preview Lab → · Contrast checker → · Palette generator →

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