#201B7A#201B7A

#201B7A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.153 H 274.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#201B7A
RGBrgb(32, 27, 122)
HSLhsl(243, 64%, 29%)
HSVhsv(243, 78%, 48%)
CMYKcmyk(73.8%, 77.9%, 0%, 52.2%)
CIE-LABlab(17.90, 34.76, -52.63)
CIE-LCHlch(17.90, 63.07, 303.44°)
OKLaboklab(30.72% 0.013 -0.1522)
OKLCHoklch(30.72% 0.153 274.9)
XYZxyz(4.4993, 2.4956, 18.6532)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B7A #757A1B
analogous
#1B467A #201B7A #501B7A
triadic
#201B7A #7A201B #1B7A20
tetradic
#201B7A #7A1B46 #757A1B #1B7A50
square
#201B7A #7A1B46 #757A1B #1B7A50
split-complementary
#201B7A #7A501B #467A1B
monochromatic
#070619 #131048 #201B7A #2D26AC #443CD4

Accessibility & contrast

On white

14.01
#201B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#201B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B7A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B7A#FFFFFF#000000##FFFFFF
##201B7A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201b7a;
/* rgb */ color: rgb(32, 27, 122);
/* oklch */ color: oklch(30.7% 0.153 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b59a2',
    500: '#201b7a',
    950: '#000000',
  },
}
SCSS
$custom: #201b7a;
$custom-light: #6b59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#201b7a",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 243.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30722,
    "c": 0.15276,
    "h": 274.9
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#201B7A
secondary
#A8AE43
accent
#E741DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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