#211562#211562

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

Color values

HEX#211562
RGBrgb(33, 21, 98)
HSLhsl(249, 65%, 23%)
HSVhsv(249, 79%, 38%)
CMYKcmyk(66.3%, 78.6%, 0%, 61.6%)
CIE-LABlab(14.07, 30.14, -43.31)
CIE-LCHlch(14.07, 52.77, 304.83°)
OKLaboklab(27.24% 0.0241 -0.1249)
OKLCHoklch(27.24% 0.127 280.9)
XYZxyz(3.0993, 1.7413, 11.7257)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211562 #566215
analogous
#152F62 #211562 #471562
triadic
#211562 #622115 #156221
tetradic
#211562 #62152F #566215 #156247
square
#211562 #62152F #566215 #156247
split-complementary
#211562 #624715 #2F6215
monochromatic
#080519 #100A30 #211562 #322094 #432BC7

Accessibility & contrast

On white

15.57
#211562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211562
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211562#FFFFFF#000000##FFFFFF
##2115621.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.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: #211562;
/* rgb */ color: rgb(33, 21, 98);
/* oklch */ color: oklch(27.2% 0.127 280.9);
Tailwind
colors: {
  custom: {
    50: '#665490',
    500: '#211562',
    950: '#000000',
  },
}
SCSS
$custom: #211562;
$custom-light: #665490;
$custom-dark: #000000;
JSON
{
  "hex": "#211562",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 249.351,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.12725,
    "h": 280.9
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#211562
secondary
#8A993A
accent
#E840CE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211562

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

Preview Lab → · Contrast checker → · Palette generator →

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