#201B8D#201B8D

#201B8D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.177 H 272.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#201B8D
RGBrgb(32, 27, 141)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 55%)
CMYKcmyk(77.3%, 80.9%, 0%, 44.7%)
CIE-LABlab(20.10, 41.19, -60.99)
CIE-LCHlch(20.10, 73.60, 304.03°)
OKLaboklab(32.91% 0.0087 -0.1765)
OKLCHoklch(32.91% 0.177 272.8)
XYZxyz(5.7937, 3.0134, 25.4704)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B8D #888D1B
analogous
#1B4F8D #201B8D #591B8D
triadic
#201B8D #8D201B #1B8D20
tetradic
#201B8D #8D1B4F #888D1B #1B8D59
square
#201B8D #8D1B4F #888D1B #1B8D59
split-complementary
#201B8D #8D591B #4F8D1B
monochromatic
#090726 #14115A #201B8D #2C25C0 #4D47DC

Accessibility & contrast

On white

13.10
#201B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#201B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B8D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B8D#FFFFFF#000000##FFFFFF
##201B8D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201b8d;
/* rgb */ color: rgb(32, 27, 141);
/* oklch */ color: oklch(32.9% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#705ab0',
    500: '#201b8d',
    950: '#000000',
  },
}
SCSS
$custom: #201b8d;
$custom-light: #705ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#201b8d",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 242.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32913,
    "c": 0.17671,
    "h": 272.8
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#201B8D
secondary
#B8BD46
accent
#EB3DE3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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