#211662#211662

#211662 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.126 H 280.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#211662
RGBrgb(33, 22, 98)
HSLhsl(249, 63%, 24%)
HSVhsv(249, 78%, 38%)
CMYKcmyk(66.3%, 77.6%, 0%, 61.6%)
CIE-LABlab(14.28, 29.54, -42.96)
CIE-LCHlch(14.28, 52.14, 304.51°)
OKLaboklab(27.39% 0.0233 -0.1239)
OKLCHoklch(27.39% 0.126 280.7)
XYZxyz(3.1180, 1.7788, 11.7319)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211662 #576216
analogous
#163162 #211662 #471662
triadic
#211662 #622116 #166221
tetradic
#211662 #621631 #576216 #166247
square
#211662 #621631 #576216 #166247
split-complementary
#211662 #624716 #316216
monochromatic
#080619 #100B30 #211662 #322194 #432CC6

Accessibility & contrast

On white

15.49
#211662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211662
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211662#FFFFFF#000000##FFFFFF
##2116621.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211662;
/* rgb */ color: rgb(33, 22, 98);
/* oklch */ color: oklch(27.4% 0.126 280.7);
Tailwind
colors: {
  custom: {
    50: '#66558f',
    500: '#211662',
    950: '#000000',
  },
}
SCSS
$custom: #211662;
$custom-light: #66558f;
$custom-dark: #000000;
JSON
{
  "hex": "#211662",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 98
  },
  "hsl": {
    "h": 248.684,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27391,
    "c": 0.1261,
    "h": 280.7
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#211662
secondary
#8B993B
accent
#E641CE
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211662

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

Preview Lab → · Contrast checker → · Palette generator →

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