#202482#202482

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

Color values

HEX#202482
RGBrgb(32, 36, 130)
HSLhsl(238, 60%, 32%)
HSVhsv(238, 75%, 51%)
CMYKcmyk(75.4%, 72.3%, 0%, 49%)
CIE-LABlab(20.75, 32.06, -53.01)
CIE-LCHlch(20.75, 61.95, 301.17°)
OKLaboklab(33.01% 0.0065 -0.1533)
OKLCHoklch(33.01% 0.153 272.4)
XYZxyz(5.2544, 3.1800, 21.4516)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202482 #827E20
analogous
#205582 #202482 #4D2082
triadic
#202482 #822024 #248220
tetradic
#202482 #822055 #827E20 #20824D
square
#202482 #822055 #827E20 #20824D
split-complementary
#202482 #824D20 #558220
monochromatic
#080920 #141651 #202482 #2C32B3 #4A50D2

Accessibility & contrast

On white

12.83
#202482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202482
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202482#FFFFFF#000000##FFFFFF
##2024821.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202482;
/* rgb */ color: rgb(32, 36, 130);
/* oklch */ color: oklch(33.0% 0.153 272.4);
Tailwind
colors: {
  custom: {
    50: '#6c5fa7',
    500: '#202482',
    950: '#000000',
  },
}
SCSS
$custom: #202482;
$custom-light: #6c5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#202482",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 237.551,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.15349,
    "h": 272.4
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#202482
secondary
#B5B049
accent
#DD44E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202482

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

Preview Lab → · Contrast checker → · Palette generator →

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