#201B4E#201B4E

#201B4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.090 H 282.6°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#201B4E
RGBrgb(32, 27, 78)
HSLhsl(246, 49%, 21%)
HSVhsv(246, 65%, 31%)
CMYKcmyk(59%, 65.4%, 0%, 69.4%)
CIE-LABlab(13.48, 18.86, -30.79)
CIE-LCHlch(13.48, 36.11, 301.49°)
OKLaboklab(26.19% 0.0198 -0.0883)
OKLCHoklch(26.19% 0.09 282.6)
XYZxyz(2.3623, 1.6409, 7.3985)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B4E #494E1B
analogous
#1B2F4E #201B4E #391B4E
triadic
#201B4E #4E201B #1B4E20
tetradic
#201B4E #4E1B2F #494E1B #1B4E39
square
#201B4E #4E1B2F #494E1B #1B4E39
split-complementary
#201B4E #4E391B #2F4E1B
monochromatic
#090817 #0D0B21 #201B4E #332B7B #453AA9

Accessibility & contrast

On white

15.81
#201B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B4E
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B4E#FFFFFF#000000##FFFFFF
##201B4E1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#0C2731
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201b4e;
/* rgb */ color: rgb(32, 27, 78);
/* oklch */ color: oklch(26.2% 0.090 282.6);
Tailwind
colors: {
  custom: {
    50: '#605780',
    500: '#201b4e',
    950: '#000000',
  },
}
SCSS
$custom: #201b4e;
$custom-light: #605780;
$custom-dark: #000000;
JSON
{
  "hex": "#201b4e",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 245.882,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26189,
    "c": 0.09044,
    "h": 282.6
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#201B4E
secondary
#7D8441
accent
#D850CB
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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