#201B81#201B81

#201B81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.162 H 274.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#201B81
RGBrgb(32, 27, 129)
HSLhsl(243, 65%, 31%)
HSVhsv(243, 79%, 51%)
CMYKcmyk(75.2%, 79.1%, 0%, 49.4%)
CIE-LABlab(18.69, 37.16, -55.77)
CIE-LCHlch(18.69, 67.02, 303.68°)
OKLaboklab(31.52% 0.0115 -0.1613)
OKLCHoklch(31.52% 0.162 274.1)
XYZxyz(4.9487, 2.6754, 21.0202)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B81 #7C811B
analogous
#1B4981 #201B81 #531B81
triadic
#201B81 #81201B #1B8120
tetradic
#201B81 #811B49 #7C811B #1B8153
square
#201B81 #811B49 #7C811B #1B8153
split-complementary
#201B81 #81531B #49811B
monochromatic
#07061C #13104E #201B81 #2D26B4 #473FD7

Accessibility & contrast

On white

13.68
#201B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#201B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B81
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B81#FFFFFF#000000##FFFFFF
##201B811.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201b81;
/* rgb */ color: rgb(32, 27, 129);
/* oklch */ color: oklch(31.5% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d59a7',
    500: '#201b81',
    950: '#000000',
  },
}
SCSS
$custom: #201b81;
$custom-light: #6d59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201b81",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 242.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31518,
    "c": 0.16175,
    "h": 274.1
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#201B81
secondary
#AFB543
accent
#E83FE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #201B81

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

Preview Lab → · Contrast checker → · Palette generator →

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