#211F97#211F97

#211F97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.185 H 271.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#211F97
RGBrgb(33, 31, 151)
HSLhsl(241, 66%, 36%)
HSVhsv(241, 79%, 59%)
CMYKcmyk(78.1%, 79.5%, 0%, 40.8%)
CIE-LABlab(22.08, 42.43, -63.91)
CIE-LCHlch(22.08, 76.72, 303.58°)
OKLaboklab(34.66% 0.0062 -0.185)
OKLCHoklch(34.66% 0.185 271.9)
XYZxyz(6.7012, 3.5369, 29.6017)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F97 #95971F
analogous
#1F5997 #211F97 #5D1F97
triadic
#211F97 #97211F #1F9721
tetradic
#211F97 #971F59 #95971F #1F975D
square
#211F97 #971F59 #95971F #1F975D
split-complementary
#211F97 #975D1F #59971F
monochromatic
#0B0A31 #161564 #211F97 #2C29CA #5754DC

Accessibility & contrast

On white

12.30
#211F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#211F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F97
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F97#FFFFFF#000000##FFFFFF
##211F971.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211f97;
/* rgb */ color: rgb(33, 31, 151);
/* oklch */ color: oklch(34.7% 0.185 271.9);
Tailwind
colors: {
  custom: {
    50: '#725db7',
    500: '#211f97',
    950: '#000000',
  },
}
SCSS
$custom: #211f97;
$custom-light: #725db7;
$custom-dark: #000000;
JSON
{
  "hex": "#211f97",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 241,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34659,
    "c": 0.1851,
    "h": 271.9
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F97

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

Preview Lab → · Contrast checker → · Palette generator →

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