#201B71#201B71

#201B71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.141 H 276.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#201B71
RGBrgb(32, 27, 113)
HSLhsl(243, 61%, 27%)
HSVhsv(243, 76%, 44%)
CMYKcmyk(71.7%, 76.1%, 0%, 55.7%)
CIE-LABlab(16.91, 31.60, -48.48)
CIE-LCHlch(16.91, 57.87, 303.10°)
OKLaboklab(29.72% 0.015 -0.1401)
OKLCHoklch(29.72% 0.141 276.1)
XYZxyz(3.9673, 2.2828, 15.8511)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B71 #6C711B
analogous
#1B4171 #201B71 #4B1B71
triadic
#201B71 #71201B #1B7120
tetradic
#201B71 #711B41 #6C711B #1B714B
square
#201B71 #711B41 #6C711B #1B714B
split-complementary
#201B71 #714B1B #41711B
monochromatic
#070619 #120F40 #201B71 #2E27A2 #4037CF

Accessibility & contrast

On white

14.42
#201B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#201B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B71
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B71#FFFFFF#000000##FFFFFF
##201B711.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201b71;
/* rgb */ color: rgb(32, 27, 113);
/* oklch */ color: oklch(29.7% 0.141 276.1);
Tailwind
colors: {
  custom: {
    50: '#69589b',
    500: '#201b71',
    950: '#000000',
  },
}
SCSS
$custom: #201b71;
$custom-light: #69589b;
$custom-dark: #000000;
JSON
{
  "hex": "#201b71",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 243.488,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.14089,
    "h": 276.1
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#201B71
secondary
#A0A642
accent
#E543DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201B71

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

Preview Lab → · Contrast checker → · Palette generator →

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