#211B82#211B82

#211B82 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.163 H 274.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#211B82
RGBrgb(33, 27, 130)
HSLhsl(243, 66%, 31%)
HSVhsv(243, 79%, 51%)
CMYKcmyk(74.6%, 79.2%, 0%, 49%)
CIE-LABlab(18.88, 37.59, -56.10)
CIE-LCHlch(18.88, 67.53, 303.83°)
OKLaboklab(31.7% 0.0126 -0.1623)
OKLCHoklch(31.7% 0.163 274.4)
XYZxyz(5.0471, 2.7184, 21.3735)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B82 #7C821B
analogous
#1B4882 #211B82 #541B82
triadic
#211B82 #82211B #1B8221
tetradic
#211B82 #821B48 #7C821B #1B8254
square
#211B82 #821B48 #7C821B #1B8254
split-complementary
#211B82 #82541B #48821B
monochromatic
#07061D #14104F #211B82 #2E26B5 #4940D7

Accessibility & contrast

On white

13.60
#211B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B82
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B82#FFFFFF#000000##FFFFFF
##211B821.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211b82;
/* rgb */ color: rgb(33, 27, 130);
/* oklch */ color: oklch(31.7% 0.163 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d59a7',
    500: '#211b82',
    950: '#000000',
  },
}
SCSS
$custom: #211b82;
$custom-light: #6d59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211b82",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 243.495,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.317,
    "c": 0.16275,
    "h": 274.4
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#211B82
secondary
#AFB643
accent
#E93FDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211B82

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

Preview Lab → · Contrast checker → · Palette generator →

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