#201B5C#201B5C

#201B5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.112 H 279.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#201B5C
RGBrgb(32, 27, 92)
HSLhsl(245, 55%, 23%)
HSVhsv(245, 71%, 36%)
CMYKcmyk(65.2%, 70.7%, 0%, 63.9%)
CIE-LABlab(14.75, 24.02, -38.19)
CIE-LCHlch(14.75, 45.12, 302.17°)
OKLaboklab(27.52% 0.0186 -0.11)
OKLCHoklch(27.52% 0.112 279.6)
XYZxyz(2.9188, 1.8634, 10.3290)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B5C #575C1B
analogous
#1B365C #201B5C #401B5C
triadic
#201B5C #5C201B #1B5C20
tetradic
#201B5C #5C1B36 #575C1B #1B5C40
square
#201B5C #5C1B36 #575C1B #1B5C40
split-complementary
#201B5C #5C401B #365C1B
monochromatic
#080718 #100D2D #201B5C #30298B #4137BB

Accessibility & contrast

On white

15.30
#201B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B5C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B5C#FFFFFF#000000##FFFFFF
##201B5C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00235B
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201b5c;
/* rgb */ color: rgb(32, 27, 92);
/* oklch */ color: oklch(27.5% 0.112 279.6);
Tailwind
colors: {
  custom: {
    50: '#64588b',
    500: '#201b5c',
    950: '#000000',
  },
}
SCSS
$custom: #201b5c;
$custom-light: #64588b;
$custom-dark: #000000;
JSON
{
  "hex": "#201b5c",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 244.615,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2752,
    "c": 0.11155,
    "h": 279.6
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#201B5C
secondary
#8B9241
accent
#DE4AD3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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