#201B58#201B58

#201B58 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.106 H 280.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#201B58
RGBrgb(32, 27, 88)
HSLhsl(245, 53%, 23%)
HSVhsv(245, 69%, 35%)
CMYKcmyk(63.6%, 69.3%, 0%, 65.5%)
CIE-LABlab(14.37, 22.55, -36.13)
CIE-LCHlch(14.37, 42.58, 301.97°)
OKLaboklab(27.13% 0.019 -0.1039)
OKLCHoklch(27.13% 0.106 280.4)
XYZxyz(2.7485, 1.7953, 9.4323)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B58 #53581B
analogous
#1B3558 #201B58 #3E1B58
triadic
#201B58 #58201B #1B5820
tetradic
#201B58 #581B35 #53581B #1B583E
square
#201B58 #581B35 #53581B #1B583E
split-complementary
#201B58 #583E1B #35581B
monochromatic
#090717 #0F0D29 #201B58 #312987 #4238B6

Accessibility & contrast

On white

15.45
#201B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201B58
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B58#FFFFFF#000000##FFFFFF
##201B581.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201b58;
/* rgb */ color: rgb(32, 27, 88);
/* oklch */ color: oklch(27.1% 0.106 280.4);
Tailwind
colors: {
  custom: {
    50: '#635788',
    500: '#201b58',
    950: '#000000',
  },
}
SCSS
$custom: #201b58;
$custom-light: #635788;
$custom-dark: #000000;
JSON
{
  "hex": "#201b58",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 244.918,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.10566,
    "h": 280.4
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

primary
#201B58
secondary
#878E41
accent
#DC4BD1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #201B58

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

Preview Lab → · Contrast checker → · Palette generator →

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