#201D7D#201D7D

#201D7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.155 H 274.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#201D7D
RGBrgb(32, 29, 125)
HSLhsl(242, 62%, 30%)
HSVhsv(242, 77%, 49%)
CMYKcmyk(74.4%, 76.8%, 0%, 51%)
CIE-LABlab(18.65, 34.62, -53.30)
CIE-LCHlch(18.65, 63.55, 303.00°)
OKLaboklab(31.36% 0.0113 -0.1542)
OKLCHoklch(31.36% 0.155 274.2)
XYZxyz(4.7355, 2.6660, 19.6631)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D7D #7A7D1D
analogous
#1D4A7D #201D7D #501D7D
triadic
#201D7D #7D201D #1D7D20
tetradic
#201D7D #7D1D4A #7A7D1D #1D7D50
square
#201D7D #7D1D4A #7A7D1D #1D7D50
split-complementary
#201D7D #7D501D #4A7D1D
monochromatic
#07061A #13114B #201D7D #2D29AF #4641D3

Accessibility & contrast

On white

13.70
#201D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#201D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D7D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D7D#FFFFFF#000000##FFFFFF
##201D7D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201d7d;
/* rgb */ color: rgb(32, 29, 125);
/* oklch */ color: oklch(31.4% 0.155 274.2);
Tailwind
colors: {
  custom: {
    50: '#6b5aa4',
    500: '#201d7d',
    950: '#000000',
  },
}
SCSS
$custom: #201d7d;
$custom-light: #6b5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#201d7d",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 241.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.15458,
    "h": 274.2
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#201D7D
secondary
#ADB145
accent
#E542E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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