#211E9D#211E9D

#211E9D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.193 H 271.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#211E9D
RGBrgb(33, 30, 157)
HSLhsl(241, 68%, 37%)
HSVhsv(241, 81%, 62%)
CMYKcmyk(79%, 80.9%, 0%, 38.4%)
CIE-LABlab(22.60, 44.93, -66.73)
CIE-LCHlch(22.60, 80.44, 303.95°)
OKLaboklab(35.23% 0.0052 -0.1931)
OKLCHoklch(35.23% 0.193 271.5)
XYZxyz(7.1752, 3.6854, 32.2249)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E9D #9A9D1E
analogous
#1E5B9D #211E9D #611E9D
triadic
#211E9D #9D211E #1E9D21
tetradic
#211E9D #9D1E5B #9A9D1E #1E9D61
square
#211E9D #9D1E5B #9A9D1E #1E9D61
split-complementary
#211E9D #9D611E #5B9D1E
monochromatic
#0B0A36 #16146A #211E9D #2C28D0 #5A57DF

Accessibility & contrast

On white

12.09
#211E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#211E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E9D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E9D#FFFFFF#000000##FFFFFF
##211E9D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211e9d;
/* rgb */ color: rgb(33, 30, 157);
/* oklch */ color: oklch(35.2% 0.193 271.5);
Tailwind
colors: {
  custom: {
    50: '#745dbb',
    500: '#211e9d',
    950: '#000000',
  },
}
SCSS
$custom: #211e9d;
$custom-light: #745dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#211e9d",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 241.417,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.19321,
    "h": 271.5
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#211E9D
secondary
#C0C254
accent
#EB3DE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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