#201B59#201B59

#201B59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.2% C 0.107 H 280.2°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#201B59
RGBrgb(32, 27, 89)
HSLhsl(245, 53%, 23%)
HSVhsv(245, 70%, 35%)
CMYKcmyk(64%, 69.7%, 0%, 65.1%)
CIE-LABlab(14.47, 22.91, -36.65)
CIE-LCHlch(14.47, 43.22, 302.02°)
OKLaboklab(27.23% 0.0189 -0.1055)
OKLCHoklch(27.23% 0.107 280.2)
XYZxyz(2.7902, 1.8120, 9.6520)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B59 #54591B
analogous
#1B3559 #201B59 #3F1B59
triadic
#201B59 #59201B #1B5920
tetradic
#201B59 #591B35 #54591B #1B593F
square
#201B59 #591B35 #54591B #1B593F
split-complementary
#201B59 #593F1B #35591B
monochromatic
#080717 #0F0D2A #201B59 #312988 #4237B7

Accessibility & contrast

On white

15.41
#201B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B59
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B59#FFFFFF#000000##FFFFFF
##201B591.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201b59;
/* rgb */ color: rgb(32, 27, 89);
/* oklch */ color: oklch(27.2% 0.107 280.2);
Tailwind
colors: {
  custom: {
    50: '#635788',
    500: '#201b59',
    950: '#000000',
  },
}
SCSS
$custom: #201b59;
$custom-light: #635788;
$custom-dark: #000000;
JSON
{
  "hex": "#201b59",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 244.839,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27225,
    "c": 0.10714,
    "h": 280.2
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#201B59
secondary
#898F41
accent
#DD4BD1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201B59

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

Preview Lab → · Contrast checker → · Palette generator →

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