#211E8D#211E8D

#211E8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.174 H 272.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#211E8D
RGBrgb(33, 30, 141)
HSLhsl(242, 65%, 34%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(76.6%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.73, 39.63, -59.95)
CIE-LCHlch(20.73, 71.86, 303.47°)
OKLaboklab(33.37% 0.0088 -0.1735)
OKLCHoklch(33.37% 0.174 272.9)
XYZxyz(5.8976, 3.1743, 25.4960)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8D #8A8D1E
analogous
#1E528D #211E8D #581E8D
triadic
#211E8D #8D211E #1E8D21
tetradic
#211E8D #8D1E52 #8A8D1E #1E8D58
square
#211E8D #8D1E52 #8A8D1E #1E8D58
split-complementary
#211E8D #8D581E #528D1E
monochromatic
#090928 #15135B #211E8D #2D29BF #504CD9

Accessibility & contrast

On white

12.84
#211E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#211E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8D#FFFFFF#000000##FFFFFF
##211E8D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002C8B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211e8d;
/* rgb */ color: rgb(33, 30, 141);
/* oklch */ color: oklch(33.4% 0.174 272.9);
Tailwind
colors: {
  custom: {
    50: '#705cb0',
    500: '#211e8d',
    950: '#000000',
  },
}
SCSS
$custom: #211e8d;
$custom-light: #705cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8d",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 241.622,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33373,
    "c": 0.1737,
    "h": 272.9
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#211E8D
secondary
#B9BC4B
accent
#E840E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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