#201371#201371

#201371 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.149 H 277.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#201371
RGBrgb(32, 19, 113)
HSLhsl(248, 71%, 26%)
HSVhsv(248, 83%, 44%)
CMYKcmyk(71.7%, 83.2%, 0%, 55.7%)
CIE-LABlab(15.30, 36.17, -51.13)
CIE-LCHlch(15.30, 62.63, 305.28°)
OKLaboklab(28.59% 0.0196 -0.1477)
OKLCHoklch(28.59% 0.149 277.5)
XYZxyz(3.8082, 1.9647, 15.7981)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201371 #647113
analogous
#133571 #201371 #4F1371
triadic
#201371 #712013 #137120
tetradic
#201371 #711335 #647113 #13714F
square
#201371 #711335 #647113 #13714F
split-complementary
#201371 #714F13 #357113
monochromatic
#07041A #110A3D #201371 #2F1CA5 #3E25DA

Accessibility & contrast

On white

15.08
#201371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201371
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201371#FFFFFF#000000##FFFFFF
##2013711.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201371;
/* rgb */ color: rgb(32, 19, 113);
/* oklch */ color: oklch(28.6% 0.149 277.5);
Tailwind
colors: {
  custom: {
    50: '#69549b',
    500: '#201371',
    950: '#000000',
  },
}
SCSS
$custom: #201371;
$custom-light: #69549b;
$custom-dark: #000000;
JSON
{
  "hex": "#201371",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 248.298,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28592,
    "c": 0.14901,
    "h": 277.5
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#201371
secondary
#98A838
accent
#EE3AD5
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201371

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

Preview Lab → · Contrast checker → · Palette generator →

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