#211D87#211D87

#211D87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.167 H 273.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#211D87
RGBrgb(33, 29, 135)
HSLhsl(242, 65%, 32%)
HSVhsv(242, 79%, 53%)
CMYKcmyk(75.6%, 78.5%, 0%, 47.1%)
CIE-LABlab(19.85, 38.16, -57.65)
CIE-LCHlch(19.85, 69.14, 303.50°)
OKLaboklab(32.55% 0.0105 -0.1668)
OKLCHoklch(32.55% 0.167 273.6)
XYZxyz(5.4383, 2.9508, 23.1999)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D87 #83871D
analogous
#1D4E87 #211D87 #561D87
triadic
#211D87 #87211D #1D8721
tetradic
#211D87 #871D4E #83871D #1D8756
square
#211D87 #871D4E #83871D #1D8756
split-complementary
#211D87 #87561D #4E871D
monochromatic
#080722 #151255 #211D87 #2D28B9 #4C47D7

Accessibility & contrast

On white

13.21
#211D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#211D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D87
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D87#FFFFFF#000000##FFFFFF
##211D871.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211d87;
/* rgb */ color: rgb(33, 29, 135);
/* oklch */ color: oklch(32.5% 0.167 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e5bab',
    500: '#211d87',
    950: '#000000',
  },
}
SCSS
$custom: #211d87;
$custom-light: #6e5bab;
$custom-dark: #000000;
JSON
{
  "hex": "#211d87",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 242.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.16713,
    "h": 273.6
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#211D87
secondary
#B5B946
accent
#E840E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211D87

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

Preview Lab → · Contrast checker → · Palette generator →

#211D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva