#211B56#211B56

#211B56 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.102 H 281.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#211B56
RGBrgb(33, 27, 86)
HSLhsl(246, 52%, 22%)
HSVhsv(246, 69%, 34%)
CMYKcmyk(61.6%, 68.6%, 0%, 66.3%)
CIE-LABlab(14.28, 22.01, -34.92)
CIE-LCHlch(14.28, 41.28, 302.22°)
OKLaboklab(27.03% 0.0207 -0.1004)
OKLCHoklch(27.03% 0.102 281.7)
XYZxyz(2.6983, 1.7789, 9.0035)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B56 #50561B
analogous
#1B3356 #211B56 #3F1B56
triadic
#211B56 #56211B #1B5621
tetradic
#211B56 #561B33 #50561B #1B563F
square
#211B56 #561B33 #50561B #1B563F
split-complementary
#211B56 #563F1B #33561B
monochromatic
#090717 #0F0C27 #211B56 #332A85 #4538B3

Accessibility & contrast

On white

15.49
#211B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#211B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B56
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B56#FFFFFF#000000##FFFFFF
##211B561.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#052A35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #211b56;
/* rgb */ color: rgb(33, 27, 86);
/* oklch */ color: oklch(27.0% 0.102 281.7);
Tailwind
colors: {
  custom: {
    50: '#635786',
    500: '#211b56',
    950: '#000000',
  },
}
SCSS
$custom: #211b56;
$custom-light: #635786;
$custom-dark: #000000;
JSON
{
  "hex": "#211b56",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 246.102,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27025,
    "c": 0.10248,
    "h": 281.7
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#211B56
secondary
#848C41
accent
#DC4CCD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #211B56

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

Preview Lab → · Contrast checker → · Palette generator →

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