#201B4C#201B4C

#201B4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.087 H 283.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#201B4C
RGBrgb(32, 27, 76)
HSLhsl(246, 48%, 20%)
HSVhsv(246, 64%, 30%)
CMYKcmyk(57.9%, 64.5%, 0%, 70.2%)
CIE-LABlab(13.31, 18.13, -29.69)
CIE-LCHlch(13.31, 34.79, 301.40°)
OKLaboklab(26.01% 0.0198 -0.085)
OKLCHoklch(26.01% 0.087 283.1)
XYZxyz(2.2917, 1.6126, 7.0266)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B4C #474C1B
analogous
#1B2F4C #201B4C #381B4C
triadic
#201B4C #4C201B #1B4C20
tetradic
#201B4C #4C1B2F #474C1B #1B4C38
square
#201B4C #4C1B2F #474C1B #1B4C38
split-complementary
#201B4C #4C381B #2F4C1B
monochromatic
#0A0817 #0D0B1F #201B4C #332B79 #463BA6

Accessibility & contrast

On white

15.88
#201B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#201B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B4C
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B4C#FFFFFF#000000##FFFFFF
##201B4C1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#0E2630
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201b4c;
/* rgb */ color: rgb(32, 27, 76);
/* oklch */ color: oklch(26.0% 0.087 283.1);
Tailwind
colors: {
  custom: {
    50: '#60577e',
    500: '#201b4c',
    950: '#000000',
  },
}
SCSS
$custom: #201b4c;
$custom-light: #60577e;
$custom-dark: #000000;
JSON
{
  "hex": "#201b4c",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 246.122,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2601,
    "c": 0.0873,
    "h": 283.1
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#201B4C
secondary
#7B8241
accent
#D751C9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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