#201B5F#201B5F

#201B5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.8% C 0.116 H 279.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#201B5F
RGBrgb(32, 27, 95)
HSLhsl(244, 56%, 24%)
HSVhsv(244, 72%, 37%)
CMYKcmyk(66.3%, 71.6%, 0%, 62.7%)
CIE-LABlab(15.04, 25.12, -39.72)
CIE-LCHlch(15.04, 46.99, 302.31°)
OKLaboklab(27.82% 0.0182 -0.1145)
OKLCHoklch(27.82% 0.116 279)
XYZxyz(3.0525, 1.9169, 11.0334)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B5F #5A5F1B
analogous
#1B385F #201B5F #421B5F
triadic
#201B5F #5F201B #1B5F20
tetradic
#201B5F #5F1B38 #5A5F1B #1B5F42
square
#201B5F #5F1B38 #5A5F1B #1B5F42
split-complementary
#201B5F #5F421B #385F1B
monochromatic
#080718 #100D2F #201B5F #30298F #4036BE

Accessibility & contrast

On white

15.18
#201B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B5F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B5F#FFFFFF#000000##FFFFFF
##201B5F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201b5f;
/* rgb */ color: rgb(32, 27, 95);
/* oklch */ color: oklch(27.8% 0.116 279.0);
Tailwind
colors: {
  custom: {
    50: '#64588d',
    500: '#201b5f',
    950: '#000000',
  },
}
SCSS
$custom: #201b5f;
$custom-light: #64588d;
$custom-dark: #000000;
JSON
{
  "hex": "#201b5f",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 244.412,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27821,
    "c": 0.1159,
    "h": 279
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#201B5F
secondary
#8E9541
accent
#DF49D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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