#202180#202180

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

Color values

HEX#202180
RGBrgb(32, 33, 128)
HSLhsl(239, 60%, 31%)
HSVhsv(239, 75%, 50%)
CMYKcmyk(75%, 74.2%, 0%, 49.8%)
CIE-LABlab(19.85, 33.23, -53.23)
CIE-LCHlch(19.85, 62.75, 301.98°)
OKLaboklab(32.31% 0.0086 -0.154)
OKLCHoklch(32.31% 0.154 273.2)
XYZxyz(5.0345, 2.9528, 20.7225)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202180 #807F20
analogous
#205180 #202180 #4F2080
triadic
#202180 #802021 #218020
tetradic
#202180 #802051 #807F20 #20804F
square
#202180 #802051 #807F20 #20804F
split-complementary
#202180 #804F20 #518020
monochromatic
#08081E #14144F #202180 #2C2EB1 #494AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##202180#FFFFFF#000000##FFFFFF
##2021801.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)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202180;
/* rgb */ color: rgb(32, 33, 128);
/* oklch */ color: oklch(32.3% 0.154 273.2);
Tailwind
colors: {
  custom: {
    50: '#6c5da6',
    500: '#202180',
    950: '#000000',
  },
}
SCSS
$custom: #202180;
$custom-light: #6c5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#202180",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 239.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32308,
    "c": 0.15421,
    "h": 273.2
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#202180
secondary
#B3B249
accent
#E245E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #202180

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

Preview Lab → · Contrast checker → · Palette generator →

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