#211566#211566

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

Color values

HEX#211566
RGBrgb(33, 21, 102)
HSLhsl(249, 66%, 24%)
HSVhsv(249, 79%, 40%)
CMYKcmyk(67.6%, 79.4%, 0%, 60%)
CIE-LABlab(14.51, 31.51, -45.24)
CIE-LCHlch(14.51, 55.13, 304.86°)
OKLaboklab(27.68% 0.023 -0.1306)
OKLCHoklch(27.68% 0.133 280)
XYZxyz(3.2929, 1.8187, 12.7453)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211566 #5A6615
analogous
#153266 #211566 #4A1566
triadic
#211566 #662115 #156621
tetradic
#211566 #661532 #5A6615 #15664A
square
#211566 #661532 #5A6615 #15664A
split-complementary
#211566 #664A15 #326615
monochromatic
#080519 #110B33 #211566 #311F99 #422ACC

Accessibility & contrast

On white

15.40
#211566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211566
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211566#FFFFFF#000000##FFFFFF
##2115661.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211566;
/* rgb */ color: rgb(33, 21, 102);
/* oklch */ color: oklch(27.7% 0.133 280.0);
Tailwind
colors: {
  custom: {
    50: '#675493',
    500: '#211566',
    950: '#000000',
  },
}
SCSS
$custom: #211566;
$custom-light: #675493;
$custom-dark: #000000;
JSON
{
  "hex": "#211566",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 248.889,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.13259,
    "h": 280
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#211566
secondary
#8E9D3A
accent
#E93FD0
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #211566

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

Preview Lab → · Contrast checker → · Palette generator →

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