#211B9F#211B9F

#211B9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 271.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#211B9F
RGBrgb(33, 27, 159)
HSLhsl(243, 71%, 36%)
HSVhsv(243, 83%, 62%)
CMYKcmyk(79.2%, 83%, 0%, 37.6%)
CIE-LABlab(22.34, 47.05, -68.39)
CIE-LCHlch(22.34, 83.01, 304.53°)
OKLaboklab(35.12% 0.0056 -0.1979)
OKLCHoklch(35.12% 0.198 271.6)
XYZxyz(7.2750, 3.6096, 33.1075)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B9F #999F1B
analogous
#1B579F #211B9F #631B9F
triadic
#211B9F #9F211B #1B9F21
tetradic
#211B9F #9F1B57 #999F1B #1B9F63
square
#211B9F #9F1B57 #999F1B #1B9F63
split-complementary
#211B9F #9F631B #579F1B
monochromatic
#0B0936 #16126B #211B9F #2C24D3 #5953E2

Accessibility & contrast

On white

12.20
#211B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#211B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B9F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B9F#FFFFFF#000000##FFFFFF
##211B9F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211b9f;
/* rgb */ color: rgb(33, 27, 159);
/* oklch */ color: oklch(35.1% 0.198 271.6);
Tailwind
colors: {
  custom: {
    50: '#755cbd',
    500: '#211b9f',
    950: '#000000',
  },
}
SCSS
$custom: #211b9f;
$custom-light: #755cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#211b9f",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 242.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35117,
    "c": 0.19799,
    "h": 271.6
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#211B9F
secondary
#BFC551
accent
#EE3AE6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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