#211E97#211E97

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

Color values

HEX#211E97
RGBrgb(33, 30, 151)
HSLhsl(241, 67%, 35%)
HSVhsv(241, 80%, 59%)
CMYKcmyk(78.1%, 80.1%, 0%, 40.8%)
CIE-LABlab(21.89, 42.97, -64.22)
CIE-LCHlch(21.89, 77.27, 303.78°)
OKLaboklab(34.53% 0.0066 -0.1859)
OKLCHoklch(34.53% 0.186 272)
XYZxyz(6.6755, 3.4855, 29.5931)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E97 #94971E
analogous
#1E5797 #211E97 #5E1E97
triadic
#211E97 #97211E #1E9721
tetradic
#211E97 #971E57 #94971E #1E975E
square
#211E97 #971E57 #94971E #1E975E
split-complementary
#211E97 #975E1E #57971E
monochromatic
#0B0A31 #161464 #211E97 #2C28CA #5653DD

Accessibility & contrast

On white

12.37
#211E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E97
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E97#FFFFFF#000000##FFFFFF
##211E971.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002E95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #211e97;
/* rgb */ color: rgb(33, 30, 151);
/* oklch */ color: oklch(34.5% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#725db7',
    500: '#211e97',
    950: '#000000',
  },
}
SCSS
$custom: #211e97;
$custom-light: #725db7;
$custom-dark: #000000;
JSON
{
  "hex": "#211e97",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 241.488,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.186,
    "h": 272
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#211E97
secondary
#BDC051
accent
#EA3EE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211E97

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

Preview Lab → · Contrast checker → · Palette generator →

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