#202082#202082

#202082 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.158 H 273.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#202082
RGBrgb(32, 32, 130)
HSLhsl(240, 60%, 32%)
HSVhsv(240, 75%, 51%)
CMYKcmyk(75.4%, 75.4%, 0%, 49%)
CIE-LABlab(19.85, 34.56, -54.50)
CIE-LCHlch(19.85, 64.54, 302.38°)
OKLaboklab(32.37% 0.0088 -0.1577)
OKLCHoklch(32.37% 0.158 273.2)
XYZxyz(5.1401, 2.9513, 21.4135)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202082 #828220
analogous
#205182 #202082 #512082
triadic
#202082 #822020 #208220
tetradic
#202082 #822051 #828220 #208251
square
#202082 #822051 #828220 #208251
split-complementary
#202082 #825120 #518220
monochromatic
#080820 #141451 #202082 #2C2CB3 #4A4AD2

Accessibility & contrast

On white

13.20
#202082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#202082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202082
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202082#FFFFFF#000000##FFFFFF
##2020821.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202082;
/* rgb */ color: rgb(32, 32, 130);
/* oklch */ color: oklch(32.4% 0.158 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c5da7',
    500: '#202082',
    950: '#000000',
  },
}
SCSS
$custom: #202082;
$custom-light: #6c5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#202082",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32368,
    "c": 0.15792,
    "h": 273.2
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#202082
secondary
#B5B549
accent
#E444E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202082

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

Preview Lab → · Contrast checker → · Palette generator →

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