#211984#211984

#211984 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.167 H 274.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#211984
RGBrgb(33, 25, 132)
HSLhsl(244, 68%, 31%)
HSVhsv(244, 81%, 52%)
CMYKcmyk(75%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.73, 39.36, -57.61)
CIE-LCHlch(18.73, 69.77, 304.34°)
OKLaboklab(31.67% 0.013 -0.1666)
OKLCHoklch(31.67% 0.167 274.5)
XYZxyz(5.1383, 2.6840, 22.0726)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211984 #7C8419
analogous
#194684 #211984 #561984
triadic
#211984 #842119 #198421
tetradic
#211984 #841946 #7C8419 #198456
square
#211984 #841946 #7C8419 #198456
split-complementary
#211984 #845619 #468419
monochromatic
#07061D #140F51 #211984 #2E23B7 #493DDA

Accessibility & contrast

On white

13.66
#211984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211984
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211984#FFFFFF#000000##FFFFFF
##2119841.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211984;
/* rgb */ color: rgb(33, 25, 132);
/* oklch */ color: oklch(31.7% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#6e58a9',
    500: '#211984',
    950: '#000000',
  },
}
SCSS
$custom: #211984;
$custom-light: #6e58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#211984",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 244.486,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31665,
    "c": 0.16711,
    "h": 274.5
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#211984
secondary
#AFB841
accent
#EB3DDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211984

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

Preview Lab → · Contrast checker → · Palette generator →

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