#201D7B#201D7B

#201D7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.152 H 274.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#201D7B
RGBrgb(32, 29, 123)
HSLhsl(242, 62%, 30%)
HSVhsv(242, 76%, 48%)
CMYKcmyk(74%, 76.4%, 0%, 51.8%)
CIE-LABlab(18.43, 33.91, -52.39)
CIE-LCHlch(18.43, 62.41, 302.92°)
OKLaboklab(31.13% 0.0117 -0.1515)
OKLCHoklch(31.13% 0.152 274.4)
XYZxyz(4.6090, 2.6154, 18.9970)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D7B #787B1D
analogous
#1D497B #201D7B #4F1D7B
triadic
#201D7B #7B201D #1D7B20
tetradic
#201D7B #7B1D49 #787B1D #1D7B4F
square
#201D7B #7B1D49 #787B1D #1D7B4F
split-complementary
#201D7B #7B4F1D #497B1D
monochromatic
#060619 #131149 #201D7B #2D29AD #4540D2

Accessibility & contrast

On white

13.79
#201D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D7B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D7B#FFFFFF#000000##FFFFFF
##201D7B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201d7b;
/* rgb */ color: rgb(32, 29, 123);
/* oklch */ color: oklch(31.1% 0.152 274.4);
Tailwind
colors: {
  custom: {
    50: '#6b5aa2',
    500: '#201d7b',
    950: '#000000',
  },
}
SCSS
$custom: #201d7b;
$custom-light: #6b5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#201d7b",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 241.915,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31133,
    "c": 0.15196,
    "h": 274.4
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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