#211B81#211B81

#211B81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.161 H 274.5°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#211B81
RGBrgb(33, 27, 129)
HSLhsl(244, 65%, 31%)
HSVhsv(244, 79%, 51%)
CMYKcmyk(74.4%, 79.1%, 0%, 49.4%)
CIE-LABlab(18.76, 37.25, -55.65)
CIE-LCHlch(18.76, 66.97, 303.80°)
OKLaboklab(31.59% 0.0128 -0.161)
OKLCHoklch(31.59% 0.161 274.5)
XYZxyz(4.9803, 2.6917, 21.0217)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B81 #7B811B
analogous
#1B4881 #211B81 #541B81
triadic
#211B81 #81211B #1B8121
tetradic
#211B81 #811B48 #7B811B #1B8154
square
#211B81 #811B48 #7B811B #1B8154
split-complementary
#211B81 #81541B #48811B
monochromatic
#07061C #14104E #211B81 #2E26B4 #483FD7

Accessibility & contrast

On white

13.65
#211B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#211B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B81
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B81#FFFFFF#000000##FFFFFF
##211B811.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211b81;
/* rgb */ color: rgb(33, 27, 129);
/* oklch */ color: oklch(31.6% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d59a7',
    500: '#211b81',
    950: '#000000',
  },
}
SCSS
$custom: #211b81;
$custom-light: #6d59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211b81",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 243.529,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.16148,
    "h": 274.5
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#211B81
secondary
#AEB543
accent
#E83FDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211B81

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

Preview Lab → · Contrast checker → · Palette generator →

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