#211B5D#211B5D

#211B5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.113 H 280.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#211B5D
RGBrgb(33, 27, 93)
HSLhsl(245, 55%, 24%)
HSVhsv(245, 71%, 36%)
CMYKcmyk(64.5%, 71%, 0%, 63.5%)
CIE-LABlab(14.94, 24.56, -38.55)
CIE-LCHlch(14.94, 45.71, 302.50°)
OKLaboklab(27.71% 0.0199 -0.111)
OKLCHoklch(27.71% 0.113 280.2)
XYZxyz(2.9943, 1.8973, 10.5622)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B5D #575D1B
analogous
#1B365D #211B5D #421B5D
triadic
#211B5D #5D211B #1B5D21
tetradic
#211B5D #5D1B36 #575D1B #1B5D42
square
#211B5D #5D1B36 #575D1B #1B5D42
split-complementary
#211B5D #5D421B #365D1B
monochromatic
#080718 #100D2E #211B5D #32298C #4337BC

Accessibility & contrast

On white

15.22
#211B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#211B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B5D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B5D#FFFFFF#000000##FFFFFF
##211B5D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211b5d;
/* rgb */ color: rgb(33, 27, 93);
/* oklch */ color: oklch(27.7% 0.113 280.2);
Tailwind
colors: {
  custom: {
    50: '#64588c',
    500: '#211b5d',
    950: '#000000',
  },
}
SCSS
$custom: #211b5d;
$custom-light: #64588c;
$custom-dark: #000000;
JSON
{
  "hex": "#211b5d",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 245.455,
    "s": 55,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27707,
    "c": 0.1128,
    "h": 280.2
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#211B5D
secondary
#8B9341
accent
#DE49D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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