#202182#202182

#202182 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.157 H 273.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#202182
RGBrgb(32, 33, 130)
HSLhsl(239, 60%, 32%)
HSVhsv(239, 75%, 51%)
CMYKcmyk(75.4%, 74.6%, 0%, 49%)
CIE-LABlab(20.07, 33.95, -54.14)
CIE-LCHlch(20.07, 63.90, 302.09°)
OKLaboklab(32.53% 0.0082 -0.1566)
OKLCHoklch(32.53% 0.157 273)
XYZxyz(5.1674, 3.0060, 21.4226)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202182 #828120
analogous
#205282 #202182 #502082
triadic
#202182 #822021 #218220
tetradic
#202182 #822052 #828120 #208250
square
#202182 #822052 #828120 #208250
split-complementary
#202182 #825020 #528220
monochromatic
#080820 #141551 #202182 #2C2DB3 #4A4BD2

Accessibility & contrast

On white

13.12
#202182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202182
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202182#FFFFFF#000000##FFFFFF
##2021821.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202182;
/* rgb */ color: rgb(32, 33, 130);
/* oklch */ color: oklch(32.5% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#6c5da7',
    500: '#202182',
    950: '#000000',
  },
}
SCSS
$custom: #202182;
$custom-light: #6c5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#202182",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 239.388,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32525,
    "c": 0.15685,
    "h": 273
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#202182
secondary
#B5B449
accent
#E244E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202182

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

Preview Lab → · Contrast checker → · Palette generator →

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