#201D7E#201D7E

#201D7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 274.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#201D7E
RGBrgb(32, 29, 126)
HSLhsl(242, 63%, 30%)
HSVhsv(242, 77%, 49%)
CMYKcmyk(74.6%, 77%, 0%, 50.6%)
CIE-LABlab(18.76, 34.97, -53.75)
CIE-LCHlch(18.76, 64.12, 303.04°)
OKLaboklab(31.47% 0.0111 -0.1555)
OKLCHoklch(31.47% 0.156 274.1)
XYZxyz(4.7997, 2.6917, 20.0012)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D7E #7B7E1D
analogous
#1D4A7E #201D7E #511D7E
triadic
#201D7E #7E201D #1D7E20
tetradic
#201D7E #7E1D4A #7B7E1D #1D7E51
square
#201D7E #7E1D4A #7B7E1D #1D7E51
split-complementary
#201D7E #7E511D #4A7E1D
monochromatic
#07061B #13124C #201D7E #2D28B0 #4642D3

Accessibility & contrast

On white

13.65
#201D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#201D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D7E
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D7E#FFFFFF#000000##FFFFFF
##201D7E1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #201d7e;
/* rgb */ color: rgb(32, 29, 126);
/* oklch */ color: oklch(31.5% 0.156 274.1);
Tailwind
colors: {
  custom: {
    50: '#6c5aa4',
    500: '#201d7e',
    950: '#000000',
  },
}
SCSS
$custom: #201d7e;
$custom-light: #6c5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#201d7e",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 241.856,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.15588,
    "h": 274.1
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#201D7E
secondary
#AEB145
accent
#E642E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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