#211B4C#211B4C

#211B4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.087 H 284.2°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#211B4C
RGBrgb(33, 27, 76)
HSLhsl(247, 48%, 20%)
HSVhsv(247, 64%, 30%)
CMYKcmyk(56.6%, 64.5%, 0%, 70.2%)
CIE-LABlab(13.41, 18.36, -29.53)
CIE-LCHlch(13.41, 34.77, 301.87°)
OKLaboklab(26.11% 0.0213 -0.0845)
OKLCHoklch(26.11% 0.087 284.2)
XYZxyz(2.3232, 1.6289, 7.0281)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B4C #464C1B
analogous
#1B2D4C #211B4C #391B4C
triadic
#211B4C #4C211B #1B4C21
tetradic
#211B4C #4C1B2D #464C1B #1B4C39
square
#211B4C #4C1B2D #464C1B #1B4C39
split-complementary
#211B4C #4C391B #2D4C1B
monochromatic
#0A0817 #0D0B1F #211B4C #352B79 #483BA6

Accessibility & contrast

On white

15.84
#211B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211B4C
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B4C#FFFFFF#000000##FFFFFF
##211B4C1.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#00214B
Tritanopia (blue-blind)
#102630
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #211b4c;
/* rgb */ color: rgb(33, 27, 76);
/* oklch */ color: oklch(26.1% 0.087 284.2);
Tailwind
colors: {
  custom: {
    50: '#61577e',
    500: '#211b4c',
    950: '#000000',
  },
}
SCSS
$custom: #211b4c;
$custom-light: #61577e;
$custom-dark: #000000;
JSON
{
  "hex": "#211b4c",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 247.347,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26107,
    "c": 0.08716,
    "h": 284.2
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#211B4C
secondary
#7A8241
accent
#D751C7
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #211B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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