#202981#202981

#202981 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.146 H 271.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#202981
RGBrgb(32, 41, 129)
HSLhsl(234, 60%, 32%)
HSVhsv(234, 75%, 51%)
CMYKcmyk(75.2%, 68.2%, 0%, 49.4%)
CIE-LABlab(21.86, 28.42, -50.55)
CIE-LCHlch(21.86, 57.99, 299.34°)
OKLaboklab(33.79% 0.0035 -0.1462)
OKLCHoklch(33.79% 0.146 271.4)
XYZxyz(5.3497, 3.4774, 21.1539)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202981 #817820
analogous
#205A81 #202981 #482081
triadic
#202981 #812029 #298120
tetradic
#202981 #81205A #817820 #208148
square
#202981 #81205A #817820 #208148
split-complementary
#202981 #814820 #5A8120
monochromatic
#080A1F #141950 #202981 #2C39B2 #4956D2

Accessibility & contrast

On white

12.38
#202981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202981
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202981#FFFFFF#000000##FFFFFF
##2029811.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202981;
/* rgb */ color: rgb(32, 41, 129);
/* oklch */ color: oklch(33.8% 0.146 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b63a6',
    500: '#202981',
    950: '#000000',
  },
}
SCSS
$custom: #202981;
$custom-light: #6b63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#202981",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 129
  },
  "hsl": {
    "h": 234.433,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.1462,
    "h": 271.4
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#202981
secondary
#B4AA49
accent
#D544E3
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #202981

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

Preview Lab → · Contrast checker → · Palette generator →

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