#211B5B#211B5B

#211B5B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.110 H 280.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#211B5B
RGBrgb(33, 27, 91)
HSLhsl(246, 54%, 23%)
HSVhsv(246, 70%, 36%)
CMYKcmyk(63.7%, 70.3%, 0%, 64.3%)
CIE-LABlab(14.75, 23.83, -37.53)
CIE-LCHlch(14.75, 44.46, 302.42°)
OKLaboklab(27.51% 0.0202 -0.108)
OKLCHoklch(27.51% 0.11 280.6)
XYZxyz(2.9069, 1.8623, 10.1018)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B5B #555B1B
analogous
#1B355B #211B5B #411B5B
triadic
#211B5B #5B211B #1B5B21
tetradic
#211B5B #5B1B35 #555B1B #1B5B41
square
#211B5B #5B1B35 #555B1B #1B5B41
split-complementary
#211B5B #5B411B #355B1B
monochromatic
#090718 #100D2C #211B5B #32298A #4337B9

Accessibility & contrast

On white

15.30
#211B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#211B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B5B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B5B#FFFFFF#000000##FFFFFF
##211B5B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00235A
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #211b5b;
/* rgb */ color: rgb(33, 27, 91);
/* oklch */ color: oklch(27.5% 0.110 280.6);
Tailwind
colors: {
  custom: {
    50: '#64588a',
    500: '#211b5b',
    950: '#000000',
  },
}
SCSS
$custom: #211b5b;
$custom-light: #64588a;
$custom-dark: #000000;
JSON
{
  "hex": "#211b5b",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 245.625,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.10989,
    "h": 280.6
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#211B5B
secondary
#899141
accent
#DE4AD0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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