#202282#202282

#202282 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.156 H 272.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#202282
RGBrgb(32, 34, 130)
HSLhsl(239, 60%, 32%)
HSVhsv(239, 75%, 51%)
CMYKcmyk(75.4%, 73.8%, 0%, 49%)
CIE-LABlab(20.29, 33.33, -53.77)
CIE-LCHlch(20.29, 63.26, 301.79°)
OKLaboklab(32.68% 0.0077 -0.1555)
OKLCHoklch(32.68% 0.156 272.8)
XYZxyz(5.1956, 3.0623, 21.4320)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202282 #828020
analogous
#205382 #202282 #4F2082
triadic
#202282 #822022 #228220
tetradic
#202282 #822053 #828020 #20824F
square
#202282 #822053 #828020 #20824F
split-complementary
#202282 #824F20 #538220
monochromatic
#080820 #141551 #202282 #2C2FB3 #4A4DD2

Accessibility & contrast

On white

13.02
#202282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#202282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202282
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202282#FFFFFF#000000##FFFFFF
##2022821.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202282;
/* rgb */ color: rgb(32, 34, 130);
/* oklch */ color: oklch(32.7% 0.156 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c5ea7',
    500: '#202282',
    950: '#000000',
  },
}
SCSS
$custom: #202282;
$custom-light: #6c5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#202282",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 238.776,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32685,
    "c": 0.15574,
    "h": 272.8
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#202282
secondary
#B5B249
accent
#E044E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202282

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

Preview Lab → · Contrast checker → · Palette generator →

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