#211E9E#211E9E

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

Color values

HEX#211E9E
RGBrgb(33, 30, 158)
HSLhsl(241, 68%, 37%)
HSVhsv(241, 81%, 62%)
CMYKcmyk(79.1%, 81%, 0%, 38%)
CIE-LABlab(22.72, 45.25, -67.14)
CIE-LCHlch(22.72, 80.96, 303.98°)
OKLaboklab(35.35% 0.005 -0.1943)
OKLCHoklch(35.35% 0.194 271.5)
XYZxyz(7.2609, 3.7197, 32.6764)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E9E #9B9E1E
analogous
#1E5B9E #211E9E #611E9E
triadic
#211E9E #9E211E #1E9E21
tetradic
#211E9E #9E1E5B #9B9E1E #1E9E61
square
#211E9E #9E1E5B #9B9E1E #1E9E61
split-complementary
#211E9E #9E611E #5B9E1E
monochromatic
#0C0A37 #16146B #211E9E #2C28D1 #5A57DF

Accessibility & contrast

On white

12.04
#211E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211E9E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E9E#FFFFFF#000000##FFFFFF
##211E9E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211e9e;
/* rgb */ color: rgb(33, 30, 158);
/* oklch */ color: oklch(35.4% 0.194 271.5);
Tailwind
colors: {
  custom: {
    50: '#745dbc',
    500: '#211e9e',
    950: '#000000',
  },
}
SCSS
$custom: #211e9e;
$custom-light: #745dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#211e9e",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 241.406,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3535,
    "c": 0.1944,
    "h": 271.5
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#211E9E
secondary
#C0C355
accent
#EB3DE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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