#201571#201571

#201571 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.147 H 277.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#201571
RGBrgb(32, 21, 113)
HSLhsl(247, 69%, 26%)
HSVhsv(247, 81%, 44%)
CMYKcmyk(71.7%, 81.4%, 0%, 55.7%)
CIE-LABlab(15.67, 35.10, -50.51)
CIE-LCHlch(15.67, 61.51, 304.80°)
OKLaboklab(28.85% 0.0185 -0.146)
OKLCHoklch(28.85% 0.147 277.2)
XYZxyz(3.8435, 2.0353, 15.8099)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201571 #667115
analogous
#153871 #201571 #4E1571
triadic
#201571 #712015 #157120
tetradic
#201571 #711538 #667115 #15714E
square
#201571 #711538 #667115 #15714E
split-complementary
#201571 #714E15 #387115
monochromatic
#07051A #110B3D #201571 #2F1FA5 #3E29D7

Accessibility & contrast

On white

14.92
#201571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#201571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201571
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201571#FFFFFF#000000##FFFFFF
##2015711.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201571;
/* rgb */ color: rgb(32, 21, 113);
/* oklch */ color: oklch(28.8% 0.147 277.2);
Tailwind
colors: {
  custom: {
    50: '#69559b',
    500: '#201571',
    950: '#000000',
  },
}
SCSS
$custom: #201571;
$custom-light: #69559b;
$custom-dark: #000000;
JSON
{
  "hex": "#201571",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 247.174,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.14714,
    "h": 277.2
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#201571
secondary
#9AA73B
accent
#EB3CD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201571

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

Preview Lab → · Contrast checker → · Palette generator →

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