#201D7A#201D7A

#201D7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.151 H 274.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#201D7A
RGBrgb(32, 29, 122)
HSLhsl(242, 62%, 30%)
HSVhsv(242, 76%, 48%)
CMYKcmyk(73.8%, 76.2%, 0%, 52.2%)
CIE-LABlab(18.32, 33.56, -51.93)
CIE-LCHlch(18.32, 61.83, 302.87°)
OKLaboklab(31.02% 0.0119 -0.1502)
OKLCHoklch(31.02% 0.151 274.5)
XYZxyz(4.5467, 2.5905, 18.6690)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D7A #777A1D
analogous
#1D497A #201D7A #4E1D7A
triadic
#201D7A #7A201D #1D7A20
tetradic
#201D7A #7A1D49 #777A1D #1D7A4E
square
#201D7A #7A1D49 #777A1D #1D7A4E
split-complementary
#201D7A #7A4E1D #497A1D
monochromatic
#060619 #131149 #201D7A #2D29AB #4540D2

Accessibility & contrast

On white

13.83
#201D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D7A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D7A#FFFFFF#000000##FFFFFF
##201D7A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201d7a;
/* rgb */ color: rgb(32, 29, 122);
/* oklch */ color: oklch(31.0% 0.151 274.5);
Tailwind
colors: {
  custom: {
    50: '#6b5aa1',
    500: '#201d7a',
    950: '#000000',
  },
}
SCSS
$custom: #201d7a;
$custom-light: #6b5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#201d7a",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 241.935,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.15064,
    "h": 274.5
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#201D7A
secondary
#AAAE45
accent
#E543DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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