#201B50#201B50

#201B50 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.094 H 282.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#201B50
RGBrgb(32, 27, 80)
HSLhsl(246, 50%, 21%)
HSVhsv(246, 66%, 31%)
CMYKcmyk(60%, 66.3%, 0%, 68.6%)
CIE-LABlab(13.65, 19.60, -31.88)
CIE-LCHlch(13.65, 37.42, 301.58°)
OKLaboklab(26.37% 0.0197 -0.0914)
OKLCHoklch(26.37% 0.094 282.1)
XYZxyz(2.4351, 1.6700, 7.7819)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B50 #4B501B
analogous
#1B3050 #201B50 #3A1B50
triadic
#201B50 #50201B #1B5020
tetradic
#201B50 #501B30 #4B501B #1B503A
square
#201B50 #501B30 #4B501B #1B503A
split-complementary
#201B50 #503A1B #30501B
monochromatic
#090817 #0E0C22 #201B50 #322A7E #453AAC

Accessibility & contrast

On white

15.74
#201B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#201B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B50
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B50#FFFFFF#000000##FFFFFF
##201B501.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#0A2832
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201b50;
/* rgb */ color: rgb(32, 27, 80);
/* oklch */ color: oklch(26.4% 0.094 282.1);
Tailwind
colors: {
  custom: {
    50: '#615782',
    500: '#201b50',
    950: '#000000',
  },
}
SCSS
$custom: #201b50;
$custom-light: #615782;
$custom-dark: #000000;
JSON
{
  "hex": "#201b50",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 245.66,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26371,
    "c": 0.09354,
    "h": 282.1
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#201B50
secondary
#7F8641
accent
#D94FCC
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05030A
muted
#79787C

Preview Lab

Preview with #201B50

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

Preview Lab → · Contrast checker → · Palette generator →

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