#211987#211987

#211987 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.171 H 274.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#211987
RGBrgb(33, 25, 135)
HSLhsl(244, 69%, 31%)
HSVhsv(244, 81%, 53%)
CMYKcmyk(75.6%, 81.5%, 0%, 47.1%)
CIE-LABlab(19.09, 40.34, -58.91)
CIE-LCHlch(19.09, 71.40, 304.41°)
OKLaboklab(32.02% 0.0122 -0.1704)
OKLCHoklch(32.02% 0.171 274.1)
XYZxyz(5.3466, 2.7673, 23.1693)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211987 #7F8719
analogous
#194887 #211987 #581987
triadic
#211987 #872119 #198721
tetradic
#211987 #871948 #7F8719 #198758
square
#211987 #871948 #7F8719 #198758
split-complementary
#211987 #875819 #488719
monochromatic
#080620 #140F53 #211987 #2E23BB #4A3FDB

Accessibility & contrast

On white

13.52
#211987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211987
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211987#FFFFFF#000000##FFFFFF
##2119871.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211987;
/* rgb */ color: rgb(33, 25, 135);
/* oklch */ color: oklch(32.0% 0.171 274.1);
Tailwind
colors: {
  custom: {
    50: '#6f59ab',
    500: '#211987',
    950: '#000000',
  },
}
SCSS
$custom: #211987;
$custom-light: #6f59ab;
$custom-dark: #000000;
JSON
{
  "hex": "#211987",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 244.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.17083,
    "h": 274.1
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#211987
secondary
#B2BA41
accent
#EC3CDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211987

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

Preview Lab → · Contrast checker → · Palette generator →

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