#211B97#211B97

#211B97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.189 H 272.3°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#211B97
RGBrgb(33, 27, 151)
HSLhsl(243, 70%, 35%)
HSVhsv(243, 82%, 59%)
CMYKcmyk(78.1%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.36, 44.51, -65.10)
CIE-LCHlch(21.36, 78.86, 304.36°)
OKLaboklab(34.16% 0.0075 -0.1884)
OKLCHoklch(34.16% 0.189 272.3)
XYZxyz(6.6032, 3.3408, 29.5690)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B97 #91971B
analogous
#1B5397 #211B97 #5F1B97
triadic
#211B97 #97211B #1B9721
tetradic
#211B97 #971B53 #91971B #1B975F
square
#211B97 #971B53 #91971B #1B975F
split-complementary
#211B97 #975F1B #53971B
monochromatic
#0A082F #161263 #211B97 #2C24CB #544DDF

Accessibility & contrast

On white

12.59
#211B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#211B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B97
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B97#FFFFFF#000000##FFFFFF
##211B971.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211b97;
/* rgb */ color: rgb(33, 27, 151);
/* oklch */ color: oklch(34.2% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#735bb7',
    500: '#211b97',
    950: '#000000',
  },
}
SCSS
$custom: #211b97;
$custom-light: #735bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#211b97",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 242.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34158,
    "c": 0.18854,
    "h": 272.3
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#211B97
secondary
#BCC14C
accent
#EC3BE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211B97

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

Preview Lab → · Contrast checker → · Palette generator →

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