#201B5B#201B5B

#201B5B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.110 H 279.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#201B5B
RGBrgb(32, 27, 91)
HSLhsl(245, 54%, 23%)
HSVhsv(245, 70%, 36%)
CMYKcmyk(64.8%, 70.3%, 0%, 64.3%)
CIE-LABlab(14.66, 23.65, -37.68)
CIE-LCHlch(14.66, 44.48, 302.11°)
OKLaboklab(27.42% 0.0187 -0.1085)
OKLCHoklch(27.42% 0.11 279.8)
XYZxyz(2.8753, 1.8461, 10.1003)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B5B #565B1B
analogous
#1B365B #201B5B #401B5B
triadic
#201B5B #5B201B #1B5B20
tetradic
#201B5B #5B1B36 #565B1B #1B5B40
square
#201B5B #5B1B36 #565B1B #1B5B40
split-complementary
#201B5B #5B401B #365B1B
monochromatic
#080718 #0F0D2C #201B5B #31298A #4137B9

Accessibility & contrast

On white

15.34
#201B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B5B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B5B#FFFFFF#000000##FFFFFF
##201B5B1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00225A
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201b5b;
/* rgb */ color: rgb(32, 27, 91);
/* oklch */ color: oklch(27.4% 0.110 279.8);
Tailwind
colors: {
  custom: {
    50: '#63588a',
    500: '#201b5b',
    950: '#000000',
  },
}
SCSS
$custom: #201b5b;
$custom-light: #63588a;
$custom-dark: #000000;
JSON
{
  "hex": "#201b5b",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 244.688,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27421,
    "c": 0.11009,
    "h": 279.8
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#201B5B
secondary
#8B9141
accent
#DE4AD2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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