#201566#201566

#201566 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.133 H 279.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#201566
RGBrgb(32, 21, 102)
HSLhsl(248, 66%, 24%)
HSVhsv(248, 79%, 40%)
CMYKcmyk(68.6%, 79.4%, 0%, 60%)
CIE-LABlab(14.41, 31.38, -45.39)
CIE-LCHlch(14.41, 55.18, 304.65°)
OKLaboklab(27.59% 0.0215 -0.131)
OKLCHoklch(27.59% 0.133 279.3)
XYZxyz(3.2613, 1.8025, 12.7438)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201566 #5B6615
analogous
#153366 #201566 #491566
triadic
#201566 #662015 #156620
tetradic
#201566 #661533 #5B6615 #156649
square
#201566 #661533 #5B6615 #156649
split-complementary
#201566 #664915 #336615
monochromatic
#080519 #100B33 #201566 #301F99 #402ACC

Accessibility & contrast

On white

15.43
#201566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#201566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201566
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201566#FFFFFF#000000##FFFFFF
##2015661.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201566;
/* rgb */ color: rgb(32, 21, 102);
/* oklch */ color: oklch(27.6% 0.133 279.3);
Tailwind
colors: {
  custom: {
    50: '#675493',
    500: '#201566',
    950: '#000000',
  },
}
SCSS
$custom: #201566;
$custom-light: #675493;
$custom-dark: #000000;
JSON
{
  "hex": "#201566",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 248.148,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27594,
    "c": 0.1328,
    "h": 279.3
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#201566
secondary
#8F9D3A
accent
#E93FD2
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201566

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

Preview Lab → · Contrast checker → · Palette generator →

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