#201D5A#201D5A

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

Color values

HEX#201D5A
RGBrgb(32, 29, 90)
HSLhsl(243, 51%, 23%)
HSVhsv(243, 68%, 35%)
CMYKcmyk(64.4%, 67.8%, 0%, 64.7%)
CIE-LABlab(15.08, 21.90, -36.31)
CIE-LCHlch(15.08, 42.41, 301.10°)
OKLaboklab(27.7% 0.0168 -0.1045)
OKLCHoklch(27.7% 0.106 279.1)
XYZxyz(2.8799, 1.9238, 9.8904)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D5A #575A1D
analogous
#1D385A #201D5A #3E1D5A
triadic
#201D5A #5A201D #1D5A20
tetradic
#201D5A #5A1D38 #575A1D #1D5A3E
square
#201D5A #5A1D38 #575A1D #1D5A3E
split-complementary
#201D5A #5A3E1D #385A1D
monochromatic
#080717 #100E2C #201D5A #302C88 #413BB7

Accessibility & contrast

On white

15.16
#201D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D5A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D5A#FFFFFF#000000##FFFFFF
##201D5A1.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002359
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201d5a;
/* rgb */ color: rgb(32, 29, 90);
/* oklch */ color: oklch(27.7% 0.106 279.1);
Tailwind
colors: {
  custom: {
    50: '#635989',
    500: '#201d5a',
    950: '#000000',
  },
}
SCSS
$custom: #201d5a;
$custom-light: #635989;
$custom-dark: #000000;
JSON
{
  "hex": "#201d5a",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 242.951,
    "s": 51.261,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.10582,
    "h": 279.1
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#201D5A
secondary
#8B8F44
accent
#DB4DD4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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