#202181#202181

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

Color values

HEX#202181
RGBrgb(32, 33, 129)
HSLhsl(239, 60%, 32%)
HSVhsv(239, 75%, 51%)
CMYKcmyk(75.2%, 74.4%, 0%, 49.4%)
CIE-LABlab(19.96, 33.59, -53.68)
CIE-LCHlch(19.96, 63.33, 302.04°)
OKLaboklab(32.42% 0.0084 -0.1553)
OKLCHoklch(32.42% 0.156 273.1)
XYZxyz(5.1006, 2.9793, 21.0709)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202181 #818020
analogous
#205281 #202181 #502081
triadic
#202181 #812021 #218120
tetradic
#202181 #812052 #818020 #208150
square
#202181 #812052 #818020 #208150
split-complementary
#202181 #815020 #528120
monochromatic
#08081F #141450 #202181 #2C2EB2 #494BD2

Accessibility & contrast

On white

13.16
#202181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202181
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202181#FFFFFF#000000##FFFFFF
##2021811.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202181;
/* rgb */ color: rgb(32, 33, 129);
/* oklch */ color: oklch(32.4% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#6c5da7',
    500: '#202181',
    950: '#000000',
  },
}
SCSS
$custom: #202181;
$custom-light: #6c5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#202181",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 239.381,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32416,
    "c": 0.15553,
    "h": 273.1
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#202181
secondary
#B4B349
accent
#E244E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202181

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

Preview Lab → · Contrast checker → · Palette generator →

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