#201B7F#201B7F

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

Color values

HEX#201B7F
RGBrgb(32, 27, 127)
HSLhsl(243, 65%, 30%)
HSVhsv(243, 79%, 50%)
CMYKcmyk(74.8%, 78.7%, 0%, 50.2%)
CIE-LABlab(18.47, 36.48, -54.88)
CIE-LCHlch(18.47, 65.90, 303.61°)
OKLaboklab(31.29% 0.0119 -0.1587)
OKLCHoklch(31.29% 0.159 274.3)
XYZxyz(4.8171, 2.6228, 20.3269)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B7F #7A7F1B
analogous
#1B487F #201B7F #521B7F
triadic
#201B7F #7F201B #1B7F20
tetradic
#201B7F #7F1B48 #7A7F1B #1B7F52
square
#201B7F #7F1B48 #7A7F1B #1B7F52
split-complementary
#201B7F #7F521B #487F1B
monochromatic
#07061A #13104D #201B7F #2D26B1 #463ED6

Accessibility & contrast

On white

13.77
#201B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B7F
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B7F#FFFFFF#000000##FFFFFF
##201B7F1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201b7f;
/* rgb */ color: rgb(32, 27, 127);
/* oklch */ color: oklch(31.3% 0.159 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c59a5',
    500: '#201b7f',
    950: '#000000',
  },
}
SCSS
$custom: #201b7f;
$custom-light: #6c59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#201b7f",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 243,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31289,
    "c": 0.1592,
    "h": 274.3
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#201B7F
secondary
#ADB343
accent
#E840E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #201B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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