#201B8A#201B8A

#201B8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.173 H 273.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#201B8A
RGBrgb(32, 27, 138)
HSLhsl(243, 67%, 32%)
HSVhsv(243, 80%, 54%)
CMYKcmyk(76.8%, 80.4%, 0%, 45.9%)
CIE-LABlab(19.74, 40.19, -59.71)
CIE-LCHlch(19.74, 71.97, 303.95°)
OKLaboklab(32.56% 0.0094 -0.1728)
OKLCHoklch(32.56% 0.173 273.1)
XYZxyz(5.5735, 2.9253, 24.3107)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B8A #858A1B
analogous
#1B4D8A #201B8A #581B8A
triadic
#201B8A #8A201B #1B8A20
tetradic
#201B8A #8A1B4D #858A1B #1B8A58
square
#201B8A #8A1B4D #858A1B #1B8A58
split-complementary
#201B8A #8A581B #4D8A1B
monochromatic
#080724 #141157 #201B8A #2C25BD #4C45DB

Accessibility & contrast

On white

13.25
#201B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#201B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B8A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B8A#FFFFFF#000000##FFFFFF
##201B8A1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201b8a;
/* rgb */ color: rgb(32, 27, 138);
/* oklch */ color: oklch(32.6% 0.173 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f5aad',
    500: '#201b8a',
    950: '#000000',
  },
}
SCSS
$custom: #201b8a;
$custom-light: #6f5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#201b8a",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 242.703,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32561,
    "c": 0.17301,
    "h": 273.1
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#201B8A
secondary
#B7BC45
accent
#EA3EE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #201B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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