#202081#202081

#202081 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.157 H 273.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#202081
RGBrgb(32, 32, 129)
HSLhsl(240, 60%, 32%)
HSVhsv(240, 75%, 51%)
CMYKcmyk(75.2%, 75.2%, 0%, 49.4%)
CIE-LABlab(19.74, 34.21, -54.05)
CIE-LCHlch(19.74, 63.96, 302.33°)
OKLaboklab(32.26% 0.0089 -0.1564)
OKLCHoklch(32.26% 0.157 273.3)
XYZxyz(5.0733, 2.9246, 21.0617)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202081 #818120
analogous
#205181 #202081 #512081
triadic
#202081 #812020 #208120
tetradic
#202081 #812051 #818120 #208151
square
#202081 #812051 #818120 #208151
split-complementary
#202081 #815120 #518120
monochromatic
#08081F #141450 #202081 #2C2CB2 #4949D2

Accessibility & contrast

On white

13.25
#202081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202081
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202081#FFFFFF#000000##FFFFFF
##2020811.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202081;
/* rgb */ color: rgb(32, 32, 129);
/* oklch */ color: oklch(32.3% 0.157 273.3);
Tailwind
colors: {
  custom: {
    50: '#6c5ca7',
    500: '#202081',
    950: '#000000',
  },
}
SCSS
$custom: #202081;
$custom-light: #6c5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#202081",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 240,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32258,
    "c": 0.15662,
    "h": 273.3
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#202081
secondary
#B4B449
accent
#E344E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202081

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

Preview Lab → · Contrast checker → · Palette generator →

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