#201D7C#201D7C

#201D7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.153 H 274.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#201D7C
RGBrgb(32, 29, 124)
HSLhsl(242, 62%, 30%)
HSVhsv(242, 77%, 49%)
CMYKcmyk(74.2%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.54, 34.26, -52.85)
CIE-LCHlch(18.54, 62.98, 302.96°)
OKLaboklab(31.24% 0.0115 -0.1528)
OKLCHoklch(31.24% 0.153 274.3)
XYZxyz(4.6719, 2.6406, 19.3283)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D7C #797C1D
analogous
#1D497C #201D7C #501D7C
triadic
#201D7C #7C201D #1D7C20
tetradic
#201D7C #7C1D49 #797C1D #1D7C50
square
#201D7C #7C1D49 #797C1D #1D7C50
split-complementary
#201D7C #7C501D #497C1D
monochromatic
#060619 #13114A #201D7C #2D29AE #4541D3

Accessibility & contrast

On white

13.74
#201D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D7C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D7C#FFFFFF#000000##FFFFFF
##201D7C1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201d7c;
/* rgb */ color: rgb(32, 29, 124);
/* oklch */ color: oklch(31.2% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#6b5aa3',
    500: '#201d7c',
    950: '#000000',
  },
}
SCSS
$custom: #201d7c;
$custom-light: #6b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#201d7c",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 241.895,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.15327,
    "h": 274.3
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#201D7C
secondary
#ACB045
accent
#E543E0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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