#211F96#211F96

#211F96 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 272.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#211F96
RGBrgb(33, 31, 150)
HSLhsl(241, 66%, 35%)
HSVhsv(241, 79%, 59%)
CMYKcmyk(78%, 79.3%, 0%, 41.2%)
CIE-LABlab(21.96, 42.10, -63.49)
CIE-LCHlch(21.96, 76.18, 303.55°)
OKLaboklab(34.54% 0.0064 -0.1838)
OKLCHoklch(34.54% 0.184 272)
XYZxyz(6.6204, 3.5046, 29.1758)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F96 #94961F
analogous
#1F5996 #211F96 #5C1F96
triadic
#211F96 #96211F #1F9621
tetradic
#211F96 #961F59 #94961F #1F965C
square
#211F96 #961F59 #94961F #1F965C
split-complementary
#211F96 #965C1F #59961F
monochromatic
#0B0A31 #161563 #211F96 #2C29C9 #5654DC

Accessibility & contrast

On white

12.35
#211F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#211F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F96
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F96#FFFFFF#000000##FFFFFF
##211F961.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211f96;
/* rgb */ color: rgb(33, 31, 150);
/* oklch */ color: oklch(34.5% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#725db6',
    500: '#211f96',
    950: '#000000',
  },
}
SCSS
$custom: #211f96;
$custom-light: #725db6;
$custom-dark: #000000;
JSON
{
  "hex": "#211f96",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 241.008,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34543,
    "c": 0.18388,
    "h": 272
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#211F96
secondary
#BDBF52
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F96

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

Preview Lab → · Contrast checker → · Palette generator →

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