#201B56#201B56

#201B56 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.103 H 280.8°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#201B56
RGBrgb(32, 27, 86)
HSLhsl(245, 52%, 22%)
HSVhsv(245, 69%, 34%)
CMYKcmyk(62.8%, 68.6%, 0%, 66.3%)
CIE-LABlab(14.19, 21.81, -35.08)
CIE-LCHlch(14.19, 41.31, 301.87°)
OKLaboklab(26.93% 0.0192 -0.1009)
OKLCHoklch(26.93% 0.103 280.8)
XYZxyz(2.6668, 1.7626, 9.0020)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B56 #51561B
analogous
#1B3456 #201B56 #3E1B56
triadic
#201B56 #56201B #1B5620
tetradic
#201B56 #561B34 #51561B #1B563E
square
#201B56 #561B34 #51561B #1B563E
split-complementary
#201B56 #563E1B #34561B
monochromatic
#090717 #0F0C27 #201B56 #312A85 #4338B3

Accessibility & contrast

On white

15.53
#201B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B56
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B56#FFFFFF#000000##FFFFFF
##201B561.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#022A35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201b56;
/* rgb */ color: rgb(32, 27, 86);
/* oklch */ color: oklch(26.9% 0.103 280.8);
Tailwind
colors: {
  custom: {
    50: '#625786',
    500: '#201b56',
    950: '#000000',
  },
}
SCSS
$custom: #201b56;
$custom-light: #625786;
$custom-dark: #000000;
JSON
{
  "hex": "#201b56",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 245.085,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26934,
    "c": 0.10267,
    "h": 280.8
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#201B56
secondary
#858C41
accent
#DC4CCF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201B56

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

Preview Lab → · Contrast checker → · Palette generator →

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