#201B57#201B57

#201B57 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.104 H 280.6°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#201B57
RGBrgb(32, 27, 87)
HSLhsl(245, 53%, 22%)
HSVhsv(245, 69%, 34%)
CMYKcmyk(63.2%, 69%, 0%, 65.9%)
CIE-LABlab(14.28, 22.18, -35.60)
CIE-LCHlch(14.28, 41.95, 301.92°)
OKLaboklab(27.03% 0.0191 -0.1024)
OKLCHoklch(27.03% 0.104 280.6)
XYZxyz(2.7074, 1.7789, 9.2157)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B57 #52571B
analogous
#1B3457 #201B57 #3E1B57
triadic
#201B57 #57201B #1B5720
tetradic
#201B57 #571B34 #52571B #1B573E
square
#201B57 #571B34 #52571B #1B573E
split-complementary
#201B57 #573E1B #34571B
monochromatic
#090717 #0F0D28 #201B57 #312986 #4238B4

Accessibility & contrast

On white

15.49
#201B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B57
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B57#FFFFFF#000000##FFFFFF
##201B571.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002256
Tritanopia (blue-blind)
#012A36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201b57;
/* rgb */ color: rgb(32, 27, 87);
/* oklch */ color: oklch(27.0% 0.104 280.6);
Tailwind
colors: {
  custom: {
    50: '#625787',
    500: '#201b57',
    950: '#000000',
  },
}
SCSS
$custom: #201b57;
$custom-light: #625787;
$custom-dark: #000000;
JSON
{
  "hex": "#201b57",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 245,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2703,
    "c": 0.10417,
    "h": 280.6
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#201B57
secondary
#868D41
accent
#DC4CD0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201B57

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

Preview Lab → · Contrast checker → · Palette generator →

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