#201B5E#201B5E

#201B5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.114 H 279.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#201B5E
RGBrgb(32, 27, 94)
HSLhsl(244, 55%, 24%)
HSVhsv(244, 71%, 37%)
CMYKcmyk(66%, 71.3%, 0%, 63.1%)
CIE-LABlab(14.95, 24.75, -39.21)
CIE-LCHlch(14.95, 46.37, 302.26°)
OKLaboklab(27.72% 0.0183 -0.113)
OKLCHoklch(27.72% 0.114 279.2)
XYZxyz(3.0073, 1.8989, 10.7955)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B5E #595E1B
analogous
#1B375E #201B5E #411B5E
triadic
#201B5E #5E201B #1B5E20
tetradic
#201B5E #5E1B37 #595E1B #1B5E41
square
#201B5E #5E1B37 #595E1B #1B5E41
split-complementary
#201B5E #5E411B #375E1B
monochromatic
#080718 #100D2E #201B5E #30298E #4036BD

Accessibility & contrast

On white

15.22
#201B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B5E
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B5E#FFFFFF#000000##FFFFFF
##201B5E1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201b5e;
/* rgb */ color: rgb(32, 27, 94);
/* oklch */ color: oklch(27.7% 0.114 279.2);
Tailwind
colors: {
  custom: {
    50: '#64588c',
    500: '#201b5e',
    950: '#000000',
  },
}
SCSS
$custom: #201b5e;
$custom-light: #64588c;
$custom-dark: #000000;
JSON
{
  "hex": "#201b5e",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 244.478,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2772,
    "c": 0.11446,
    "h": 279.2
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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