#211B4E#211B4E

#211B4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.090 H 283.6°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#211B4E
RGBrgb(33, 27, 78)
HSLhsl(247, 49%, 21%)
HSVhsv(247, 65%, 31%)
CMYKcmyk(57.7%, 65.4%, 0%, 69.4%)
CIE-LABlab(13.57, 19.09, -30.63)
CIE-LCHlch(13.57, 36.09, 301.93°)
OKLaboklab(26.28% 0.0213 -0.0877)
OKLCHoklch(26.28% 0.09 283.6)
XYZxyz(2.3939, 1.6571, 7.4000)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B4E #484E1B
analogous
#1B2E4E #211B4E #3A1B4E
triadic
#211B4E #4E211B #1B4E21
tetradic
#211B4E #4E1B2E #484E1B #1B4E3A
square
#211B4E #4E1B2E #484E1B #1B4E3A
split-complementary
#211B4E #4E3A1B #2E4E1B
monochromatic
#0A0817 #0E0B21 #211B4E #342B7B #473AA9

Accessibility & contrast

On white

15.77
#211B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#211B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B4E
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B4E#FFFFFF#000000##FFFFFF
##211B4E1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#0F2731
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #211b4e;
/* rgb */ color: rgb(33, 27, 78);
/* oklch */ color: oklch(26.3% 0.090 283.6);
Tailwind
colors: {
  custom: {
    50: '#615780',
    500: '#211b4e',
    950: '#000000',
  },
}
SCSS
$custom: #211b4e;
$custom-light: #615780;
$custom-dark: #000000;
JSON
{
  "hex": "#211b4e",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 247.059,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26285,
    "c": 0.09028,
    "h": 283.6
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#211B4E
secondary
#7C8441
accent
#D850C8
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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