#201B5D#201B5D

#201B5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.113 H 279.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#201B5D
RGBrgb(32, 27, 93)
HSLhsl(245, 55%, 24%)
HSVhsv(245, 71%, 36%)
CMYKcmyk(65.6%, 71%, 0%, 63.5%)
CIE-LABlab(14.85, 24.39, -38.70)
CIE-LCHlch(14.85, 45.74, 302.21°)
OKLaboklab(27.62% 0.0184 -0.1115)
OKLCHoklch(27.62% 0.113 279.4)
XYZxyz(2.9628, 1.8810, 10.5608)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B5D #585D1B
analogous
#1B375D #201B5D #411B5D
triadic
#201B5D #5D201B #1B5D20
tetradic
#201B5D #5D1B37 #585D1B #1B5D41
square
#201B5D #5D1B37 #585D1B #1B5D41
split-complementary
#201B5D #5D411B #375D1B
monochromatic
#080718 #100D2E #201B5D #30298C #4137BC

Accessibility & contrast

On white

15.26
#201B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B5D
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B5D#FFFFFF#000000##FFFFFF
##201B5D1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201b5d;
/* rgb */ color: rgb(32, 27, 93);
/* oklch */ color: oklch(27.6% 0.113 279.4);
Tailwind
colors: {
  custom: {
    50: '#64588c',
    500: '#201b5d',
    950: '#000000',
  },
}
SCSS
$custom: #201b5d;
$custom-light: #64588c;
$custom-dark: #000000;
JSON
{
  "hex": "#201b5d",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 244.545,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.11301,
    "h": 279.4
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#201B5D
secondary
#8C9341
accent
#DE49D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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