#201B7D#201B7D

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

Color values

HEX#201B7D
RGBrgb(32, 27, 125)
HSLhsl(243, 64%, 30%)
HSVhsv(243, 78%, 49%)
CMYKcmyk(74.4%, 78.4%, 0%, 51%)
CIE-LABlab(18.24, 35.79, -53.99)
CIE-LCHlch(18.24, 64.77, 303.54°)
OKLaboklab(31.06% 0.0124 -0.1561)
OKLCHoklch(31.06% 0.157 274.5)
XYZxyz(4.6880, 2.5712, 19.6473)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B7D #787D1B
analogous
#1B477D #201B7D #511B7D
triadic
#201B7D #7D201B #1B7D20
tetradic
#201B7D #7D1B47 #787D1B #1B7D51
square
#201B7D #7D1B47 #787D1B #1B7D51
split-complementary
#201B7D #7D511B #477D1B
monochromatic
#060519 #13104B #201B7D #2D26AF #453DD5

Accessibility & contrast

On white

13.87
#201B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B7D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B7D#FFFFFF#000000##FFFFFF
##201B7D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201b7d;
/* rgb */ color: rgb(32, 27, 125);
/* oklch */ color: oklch(31.1% 0.157 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c59a4',
    500: '#201b7d',
    950: '#000000',
  },
}
SCSS
$custom: #201b7d;
$custom-light: #6c59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#201b7d",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 243.061,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31061,
    "c": 0.15663,
    "h": 274.5
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#201B7D
secondary
#ABB143
accent
#E740DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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