#211B8B#211B8B

#211B8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.174 H 273.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#211B8B
RGBrgb(33, 27, 139)
HSLhsl(243, 67%, 33%)
HSVhsv(243, 81%, 55%)
CMYKcmyk(76.3%, 80.6%, 0%, 45.5%)
CIE-LABlab(19.93, 40.60, -60.03)
CIE-LCHlch(19.93, 72.47, 304.07°)
OKLaboklab(32.74% 0.0104 -0.1737)
OKLCHoklch(32.74% 0.174 273.4)
XYZxyz(5.6778, 2.9707, 24.6953)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B8B #858B1B
analogous
#1B4D8B #211B8B #591B8B
triadic
#211B8B #8B211B #1B8B21
tetradic
#211B8B #8B1B4D #858B1B #1B8B59
square
#211B8B #8B1B4D #858B1B #1B8B59
split-complementary
#211B8B #8B591B #4D8B1B
monochromatic
#090725 #151158 #211B8B #2D25BE #4D45DB

Accessibility & contrast

On white

13.17
#211B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B8B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B8B#FFFFFF#000000##FFFFFF
##211B8B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211b8b;
/* rgb */ color: rgb(33, 27, 139);
/* oklch */ color: oklch(32.7% 0.174 273.4);
Tailwind
colors: {
  custom: {
    50: '#705aae',
    500: '#211b8b',
    950: '#000000',
  },
}
SCSS
$custom: #211b8b;
$custom-light: #705aae;
$custom-dark: #000000;
JSON
{
  "hex": "#211b8b",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 243.214,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32742,
    "c": 0.17398,
    "h": 273.4
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#211B8B
secondary
#B6BC45
accent
#EA3DE1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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