#211B87#211B87

#211B87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.169 H 273.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#211B87
RGBrgb(33, 27, 135)
HSLhsl(243, 67%, 32%)
HSVhsv(243, 80%, 53%)
CMYKcmyk(75.6%, 80%, 0%, 47.1%)
CIE-LABlab(19.46, 39.27, -58.29)
CIE-LCHlch(19.46, 70.29, 303.97°)
OKLaboklab(32.28% 0.0114 -0.1686)
OKLCHoklch(32.28% 0.169 273.9)
XYZxyz(5.3909, 2.8559, 23.1841)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B87 #81871B
analogous
#1B4B87 #211B87 #571B87
triadic
#211B87 #87211B #1B8721
tetradic
#211B87 #871B4B #81871B #1B8757
square
#211B87 #871B4B #81871B #1B8757
split-complementary
#211B87 #87571B #4B871B
monochromatic
#080721 #151154 #211B87 #2D25BA #4B43D9

Accessibility & contrast

On white

13.37
#211B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#211B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B87
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B87#FFFFFF#000000##FFFFFF
##211B871.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211b87;
/* rgb */ color: rgb(33, 27, 135);
/* oklch */ color: oklch(32.3% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f5aab',
    500: '#211b87',
    950: '#000000',
  },
}
SCSS
$custom: #211b87;
$custom-light: #6f5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#211b87",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 243.333,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32276,
    "c": 0.16902,
    "h": 273.9
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#211B87
secondary
#B4BA44
accent
#EA3EE0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211B87

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

Preview Lab → · Contrast checker → · Palette generator →

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