#211684#211684

#211684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.170 H 274.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#211684
RGBrgb(33, 22, 132)
HSLhsl(246, 71%, 30%)
HSVhsv(246, 83%, 52%)
CMYKcmyk(75%, 83.3%, 0%, 48.2%)
CIE-LABlab(18.20, 40.90, -58.49)
CIE-LCHlch(18.20, 71.37, 304.96°)
OKLaboklab(31.3% 0.0142 -0.1691)
OKLCHoklch(31.3% 0.17 274.8)
XYZxyz(5.0776, 2.5626, 22.0524)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211684 #798416
analogous
#164284 #211684 #581684
triadic
#211684 #842116 #168421
tetradic
#211684 #841642 #798416 #168458
square
#211684 #841642 #798416 #168458
split-complementary
#211684 #845816 #428416
monochromatic
#07051B #140D50 #211684 #2E1FB8 #4737DE

Accessibility & contrast

On white

13.88
#211684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#211684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211684
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211684#FFFFFF#000000##FFFFFF
##2116841.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211684;
/* rgb */ color: rgb(33, 22, 132);
/* oklch */ color: oklch(31.3% 0.170 274.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a9',
    500: '#211684',
    950: '#000000',
  },
}
SCSS
$custom: #211684;
$custom-light: #6e57a9;
$custom-dark: #000000;
JSON
{
  "hex": "#211684",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 246,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31295,
    "c": 0.16972,
    "h": 274.8
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#211684
secondary
#ACB83D
accent
#EE3ADC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211684

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

Preview Lab → · Contrast checker → · Palette generator →

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