#201D5B#201D5B

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

Color values

HEX#201D5B
RGBrgb(32, 29, 91)
HSLhsl(243, 52%, 24%)
HSVhsv(243, 68%, 36%)
CMYKcmyk(64.8%, 68.1%, 0%, 64.3%)
CIE-LABlab(15.17, 22.28, -36.83)
CIE-LCHlch(15.17, 43.05, 301.16°)
OKLaboklab(27.8% 0.0167 -0.106)
OKLCHoklch(27.8% 0.107 279)
XYZxyz(2.9228, 1.9409, 10.1161)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D5B #585B1D
analogous
#1D395B #201D5B #3F1D5B
triadic
#201D5B #5B201D #1D5B20
tetradic
#201D5B #5B1D39 #585B1D #1D5B3F
square
#201D5B #5B1D39 #585B1D #1D5B3F
split-complementary
#201D5B #5B3F1D #395B1D
monochromatic
#080717 #100E2D #201D5B #302C89 #413BB8

Accessibility & contrast

On white

15.13
#201D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D5B
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D5B#FFFFFF#000000##FFFFFF
##201D5B1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201d5b;
/* rgb */ color: rgb(32, 29, 91);
/* oklch */ color: oklch(27.8% 0.107 279.0);
Tailwind
colors: {
  custom: {
    50: '#63598a',
    500: '#201d5b',
    950: '#000000',
  },
}
SCSS
$custom: #201d5b;
$custom-light: #63598a;
$custom-dark: #000000;
JSON
{
  "hex": "#201d5b",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 242.903,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.10732,
    "h": 279
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#201D5B
secondary
#8C9044
accent
#DB4DD4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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