#201A71#201A71

#201A71 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.142 H 276.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#201A71
RGBrgb(32, 26, 113)
HSLhsl(244, 63%, 27%)
HSVhsv(244, 77%, 44%)
CMYKcmyk(71.7%, 77%, 0%, 55.7%)
CIE-LABlab(16.69, 32.21, -48.84)
CIE-LCHlch(16.69, 58.50, 303.41°)
OKLaboklab(29.57% 0.0156 -0.1411)
OKLCHoklch(29.57% 0.142 276.3)
XYZxyz(3.9447, 2.2378, 15.8436)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A71 #6B711A
analogous
#1A4071 #201A71 #4C1A71
triadic
#201A71 #71201A #1A7120
tetradic
#201A71 #711A40 #6B711A #1A714C
square
#201A71 #711A40 #6B711A #1A714C
split-complementary
#201A71 #714C1A #40711A
monochromatic
#070619 #120F3F #201A71 #2E25A3 #4035D0

Accessibility & contrast

On white

14.51
#201A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A71
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A71#FFFFFF#000000##FFFFFF
##201A711.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201a71;
/* rgb */ color: rgb(32, 26, 113);
/* oklch */ color: oklch(29.6% 0.142 276.3);
Tailwind
colors: {
  custom: {
    50: '#69589b',
    500: '#201a71',
    950: '#000000',
  },
}
SCSS
$custom: #201a71;
$custom-light: #69589b;
$custom-dark: #000000;
JSON
{
  "hex": "#201a71",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 244.138,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29567,
    "c": 0.14199,
    "h": 276.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#201A71
secondary
#9FA641
accent
#E642DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201A71

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

Preview Lab → · Contrast checker → · Palette generator →

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