#201B41#201B41

#201B41 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.069 H 286.3°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#201B41
RGBrgb(32, 27, 65)
HSLhsl(248, 41%, 18%)
HSVhsv(248, 58%, 25%)
CMYKcmyk(50.8%, 58.5%, 0%, 74.5%)
CIE-LABlab(12.43, 14.13, -23.46)
CIE-LCHlch(12.43, 27.38, 301.06°)
OKLaboklab(25.08% 0.0195 -0.0667)
OKLCHoklch(25.08% 0.069 286.3)
XYZxyz(1.9415, 1.4725, 5.1819)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B41 #3C411B
analogous
#1B2941 #201B41 #331B41
triadic
#201B41 #41201B #1B4120
tetradic
#201B41 #411B29 #3C411B #1B4133
square
#201B41 #411B29 #3C411B #1B4133
split-complementary
#201B41 #41331B #29411B
monochromatic
#0B0916 #0B0916 #201B41 #352D6C #4B3F97

Accessibility & contrast

On white

16.22
#201B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#201B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B41
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B41#FFFFFF#000000##FFFFFF
##201B411.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2142
Deuteranopia (green-blind)
#091F40
Tritanopia (blue-blind)
#16232B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #201b41;
/* rgb */ color: rgb(32, 27, 65);
/* oklch */ color: oklch(25.1% 0.069 286.3);
Tailwind
colors: {
  custom: {
    50: '#5e5776',
    500: '#201b41',
    950: '#000000',
  },
}
SCSS
$custom: #201b41;
$custom-light: #5e5776;
$custom-dark: #000000;
JSON
{
  "hex": "#201b41",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 247.895,
    "s": 41.304,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25082,
    "c": 0.06947,
    "h": 286.3
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#201B41
secondary
#6F7641
accent
#D157C1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #201B41

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

Preview Lab → · Contrast checker → · Palette generator →

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