#201D71#201D71

#201D71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.139 H 275.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#201D71
RGBrgb(32, 29, 113)
HSLhsl(242, 59%, 28%)
HSVhsv(242, 74%, 44%)
CMYKcmyk(71.7%, 74.3%, 0%, 55.7%)
CIE-LABlab(17.36, 30.35, -47.74)
CIE-LCHlch(17.36, 56.57, 302.45°)
OKLaboklab(30.04% 0.0136 -0.1379)
OKLCHoklch(30.04% 0.139 275.6)
XYZxyz(4.0147, 2.3777, 15.8670)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D71 #6E711D
analogous
#1D4471 #201D71 #4A1D71
triadic
#201D71 #71201D #1D7120
tetradic
#201D71 #711D44 #6E711D #1D714A
square
#201D71 #711D44 #6E711D #1D714A
split-complementary
#201D71 #714A1D #44711D
monochromatic
#070618 #121140 #201D71 #2E29A2 #413CCD

Accessibility & contrast

On white

14.23
#201D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#201D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D71
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D71#FFFFFF#000000##FFFFFF
##201D711.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201d71;
/* rgb */ color: rgb(32, 29, 113);
/* oklch */ color: oklch(30.0% 0.139 275.6);
Tailwind
colors: {
  custom: {
    50: '#685a9b',
    500: '#201d71',
    950: '#000000',
  },
}
SCSS
$custom: #201d71;
$custom-light: #685a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#201d71",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 242.143,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.13861,
    "h": 275.6
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#201D71
secondary
#A2A544
accent
#E245DD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201D71

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

Preview Lab → · Contrast checker → · Palette generator →

#201D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva