#211E98#211E98

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

Color values

HEX#211E98
RGBrgb(33, 30, 152)
HSLhsl(241, 67%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.3%, 80.3%, 0%, 40.4%)
CIE-LABlab(22.01, 43.30, -64.64)
CIE-LCHlch(22.01, 77.80, 303.81°)
OKLaboklab(34.65% 0.0063 -0.1871)
OKLCHoklch(34.65% 0.187 271.9)
XYZxyz(6.7571, 3.5181, 30.0226)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E98 #95981E
analogous
#1E5898 #211E98 #5E1E98
triadic
#211E98 #98211E #1E9821
tetradic
#211E98 #981E58 #95981E #1E985E
square
#211E98 #981E58 #95981E #1E985E
split-complementary
#211E98 #985E1E #58981E
monochromatic
#0B0A32 #161465 #211E98 #2C28CB #5753DD

Accessibility & contrast

On white

12.33
#211E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E98
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E98#FFFFFF#000000##FFFFFF
##211E981.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211e98;
/* rgb */ color: rgb(33, 30, 152);
/* oklch */ color: oklch(34.6% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#735db8',
    500: '#211e98',
    950: '#000000',
  },
}
SCSS
$custom: #211e98;
$custom-light: #735db8;
$custom-dark: #000000;
JSON
{
  "hex": "#211e98",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 241.475,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.18721,
    "h": 271.9
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#211E98
secondary
#BEC051
accent
#EA3EE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211E98

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

Preview Lab → · Contrast checker → · Palette generator →

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