#211E99#211E99

#211E99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.188 H 271.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#211E99
RGBrgb(33, 30, 153)
HSLhsl(241, 67%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.4%, 80.4%, 0%, 40%)
CIE-LABlab(22.13, 43.62, -65.06)
CIE-LCHlch(22.13, 78.33, 303.84°)
OKLaboklab(34.76% 0.0061 -0.1883)
OKLCHoklch(34.76% 0.188 271.9)
XYZxyz(6.8393, 3.5510, 30.4558)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E99 #96991E
analogous
#1E5899 #211E99 #5E1E99
triadic
#211E99 #99211E #1E9921
tetradic
#211E99 #991E58 #96991E #1E995E
square
#211E99 #991E58 #96991E #1E995E
split-complementary
#211E99 #995E1E #58991E
monochromatic
#0B0A33 #161466 #211E99 #2C28CC #5754DD

Accessibility & contrast

On white

12.28
#211E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E99
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E99#FFFFFF#000000##FFFFFF
##211E991.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211e99;
/* rgb */ color: rgb(33, 30, 153);
/* oklch */ color: oklch(34.8% 0.188 271.9);
Tailwind
colors: {
  custom: {
    50: '#735db8',
    500: '#211e99',
    950: '#000000',
  },
}
SCSS
$custom: #211e99;
$custom-light: #735db8;
$custom-dark: #000000;
JSON
{
  "hex": "#211e99",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 241.463,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34763,
    "c": 0.18841,
    "h": 271.9
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#211E99
secondary
#BEC152
accent
#EA3EE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211E99

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

Preview Lab → · Contrast checker → · Palette generator →

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