#201562#201562

#201562 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.127 H 280.2°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#201562
RGBrgb(32, 21, 98)
HSLhsl(249, 65%, 23%)
HSVhsv(249, 79%, 38%)
CMYKcmyk(67.3%, 78.6%, 0%, 61.6%)
CIE-LABlab(13.97, 30.00, -43.47)
CIE-LCHlch(13.97, 52.82, 304.61°)
OKLaboklab(27.15% 0.0225 -0.1254)
OKLCHoklch(27.15% 0.127 280.2)
XYZxyz(3.0677, 1.7250, 11.7242)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201562 #576215
analogous
#153062 #201562 #461562
triadic
#201562 #622015 #156220
tetradic
#201562 #621530 #576215 #156246
square
#201562 #621530 #576215 #156246
split-complementary
#201562 #624615 #306215
monochromatic
#080519 #100A30 #201562 #302094 #412BC7

Accessibility & contrast

On white

15.61
#201562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201562
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201562#FFFFFF#000000##FFFFFF
##2015621.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201562;
/* rgb */ color: rgb(32, 21, 98);
/* oklch */ color: oklch(27.1% 0.127 280.2);
Tailwind
colors: {
  custom: {
    50: '#665490',
    500: '#201562',
    950: '#000000',
  },
}
SCSS
$custom: #201562;
$custom-light: #665490;
$custom-dark: #000000;
JSON
{
  "hex": "#201562",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 248.571,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27149,
    "c": 0.12744,
    "h": 280.2
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#201562
secondary
#8B993A
accent
#E840D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201562

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

Preview Lab → · Contrast checker → · Palette generator →

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