#211B61#211B61

#211B61 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.119 H 279.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#211B61
RGBrgb(33, 27, 97)
HSLhsl(245, 56%, 24%)
HSVhsv(245, 72%, 38%)
CMYKcmyk(66%, 72.2%, 0%, 62%)
CIE-LABlab(15.33, 26.01, -40.58)
CIE-LCHlch(15.33, 48.20, 302.66°)
OKLaboklab(28.11% 0.0193 -0.117)
OKLCHoklch(28.11% 0.119 279.4)
XYZxyz(3.1761, 1.9700, 11.5198)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B61 #5B611B
analogous
#1B3861 #211B61 #441B61
triadic
#211B61 #61211B #1B6121
tetradic
#211B61 #611B38 #5B611B #1B6144
square
#211B61 #611B38 #5B611B #1B6144
split-complementary
#211B61 #61441B #38611B
monochromatic
#080718 #110E31 #211B61 #312891 #4236C1

Accessibility & contrast

On white

15.06
#211B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#211B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B61
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B61#FFFFFF#000000##FFFFFF
##211B611.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002460
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #211b61;
/* rgb */ color: rgb(33, 27, 97);
/* oklch */ color: oklch(28.1% 0.119 279.4);
Tailwind
colors: {
  custom: {
    50: '#65588f',
    500: '#211b61',
    950: '#000000',
  },
}
SCSS
$custom: #211b61;
$custom-light: #65588f;
$custom-dark: #000000;
JSON
{
  "hex": "#211b61",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 245.143,
    "s": 56.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28109,
    "c": 0.11854,
    "h": 279.4
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#211B61
secondary
#8F9741
accent
#E048D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #211B61

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

Preview Lab → · Contrast checker → · Palette generator →

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