#201771#201771

#201771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.145 H 276.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#201771
RGBrgb(32, 23, 113)
HSLhsl(246, 66%, 27%)
HSVhsv(246, 80%, 44%)
CMYKcmyk(71.7%, 79.6%, 0%, 55.7%)
CIE-LABlab(16.06, 33.98, -49.87)
CIE-LCHlch(16.06, 60.34, 304.27°)
OKLaboklab(29.13% 0.0174 -0.1441)
OKLCHoklch(29.13% 0.145 276.9)
XYZxyz(3.8817, 2.1118, 15.8226)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201771 #687117
analogous
#173B71 #201771 #4D1771
triadic
#201771 #712017 #177120
tetradic
#201771 #71173B #687117 #17714D
square
#201771 #71173B #687117 #17714D
split-complementary
#201771 #714D17 #3B7117
monochromatic
#070519 #120D3E #201771 #2E21A4 #3F2ED4

Accessibility & contrast

On white

14.76
#201771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#201771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201771
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201771#FFFFFF#000000##FFFFFF
##2017711.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201771;
/* rgb */ color: rgb(32, 23, 113);
/* oklch */ color: oklch(29.1% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#69569b',
    500: '#201771',
    950: '#000000',
  },
}
SCSS
$custom: #201771;
$custom-light: #69569b;
$custom-dark: #000000;
JSON
{
  "hex": "#201771",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 246,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.14516,
    "h": 276.9
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#201771
secondary
#9CA73D
accent
#E93FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201771

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

Preview Lab → · Contrast checker → · Palette generator →

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