#201558#201558

#201558 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 26.1% C 0.114 H 282.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#201558
RGBrgb(32, 21, 88)
HSLhsl(250, 61%, 21%)
HSVhsv(250, 76%, 35%)
CMYKcmyk(63.6%, 76.1%, 0%, 65.5%)
CIE-LABlab(12.91, 26.52, -38.52)
CIE-LCHlch(12.91, 46.77, 304.55°)
OKLaboklab(26.07% 0.0248 -0.111)
OKLCHoklch(26.07% 0.114 282.6)
XYZxyz(2.6247, 1.5478, 9.3911)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201558 #4D5815
analogous
#152C58 #201558 #421558
triadic
#201558 #582015 #155820
tetradic
#201558 #58152C #4D5815 #155842
square
#201558 #58152C #4D5815 #155842
split-complementary
#201558 #584215 #2C5815
monochromatic
#090619 #0E0927 #201558 #322189 #442DBB

Accessibility & contrast

On white

16.04
#201558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#201558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201558
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201558#FFFFFF#000000##FFFFFF
##2015581.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #201558;
/* rgb */ color: rgb(32, 21, 88);
/* oklch */ color: oklch(26.1% 0.114 282.6);
Tailwind
colors: {
  custom: {
    50: '#635388',
    500: '#201558',
    950: '#000000',
  },
}
SCSS
$custom: #201558;
$custom-light: #635388;
$custom-dark: #000000;
JSON
{
  "hex": "#201558",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 249.851,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26071,
    "c": 0.11371,
    "h": 282.6
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#201558
secondary
#819039
accent
#E543CA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #201558

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

Preview Lab → · Contrast checker → · Palette generator →

#201558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva