#201581#201581

#201581 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.167 H 274.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#201581
RGBrgb(32, 21, 129)
HSLhsl(246, 72%, 29%)
HSVhsv(246, 84%, 51%)
CMYKcmyk(75.2%, 83.7%, 0%, 49.4%)
CIE-LABlab(17.59, 40.35, -57.60)
CIE-LCHlch(17.59, 70.33, 305.01°)
OKLaboklab(30.75% 0.014 -0.1666)
OKLCHoklch(30.75% 0.167 274.8)
XYZxyz(4.8250, 2.4279, 20.9790)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201581 #768115
analogous
#154081 #201581 #561581
triadic
#201581 #812015 #158120
tetradic
#201581 #811540 #768115 #158156
square
#201581 #811540 #768115 #158156
split-complementary
#201581 #815615 #408115
monochromatic
#07041A #130C4C #201581 #2D1EB6 #4433DE

Accessibility & contrast

On white

14.14
#201581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#201581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201581
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201581#FFFFFF#000000##FFFFFF
##2015811.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201581;
/* rgb */ color: rgb(32, 21, 129);
/* oklch */ color: oklch(30.7% 0.167 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d56a7',
    500: '#201581',
    950: '#000000',
  },
}
SCSS
$custom: #201581;
$custom-light: #6d56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201581",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 246.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.16715,
    "h": 274.8
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#201581
secondary
#A9B63C
accent
#EF39DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201581

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

Preview Lab → · Contrast checker → · Palette generator →

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