#201B8E#201B8E

#201B8E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.178 H 272.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#201B8E
RGBrgb(32, 27, 142)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 56%)
CMYKcmyk(77.5%, 81%, 0%, 44.3%)
CIE-LABlab(20.22, 41.51, -61.42)
CIE-LCHlch(20.22, 74.13, 304.05°)
OKLaboklab(33.03% 0.0084 -0.1777)
OKLCHoklch(33.03% 0.178 272.7)
XYZxyz(5.8684, 3.0433, 25.8641)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B8E #898E1B
analogous
#1B4F8E #201B8E #591B8E
triadic
#201B8E #8E201B #1B8E20
tetradic
#201B8E #8E1B4F #898E1B #1B8E59
square
#201B8E #8E1B4F #898E1B #1B8E59
split-complementary
#201B8E #8E591B #4F8E1B
monochromatic
#090727 #14115B #201B8E #2C25C1 #4E47DC

Accessibility & contrast

On white

13.05
#201B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#201B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B8E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B8E#FFFFFF#000000##FFFFFF
##201B8E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201b8e;
/* rgb */ color: rgb(32, 27, 142);
/* oklch */ color: oklch(33.0% 0.178 272.7);
Tailwind
colors: {
  custom: {
    50: '#705ab0',
    500: '#201b8e',
    950: '#000000',
  },
}
SCSS
$custom: #201b8e;
$custom-light: #705ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#201b8e",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 242.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.17794,
    "h": 272.7
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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