#211E8A#211E8A

#211E8A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.170 H 273.2°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#211E8A
RGBrgb(33, 30, 138)
HSLhsl(242, 64%, 33%)
HSVhsv(242, 78%, 54%)
CMYKcmyk(76.1%, 78.3%, 0%, 45.9%)
CIE-LABlab(20.39, 38.61, -58.64)
CIE-LCHlch(20.39, 70.21, 303.37°)
OKLaboklab(33.03% 0.0094 -0.1697)
OKLCHoklch(33.03% 0.17 273.2)
XYZxyz(5.6774, 3.0863, 24.3363)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8A #878A1E
analogous
#1E518A #211E8A #571E8A
triadic
#211E8A #8A211E #1E8A21
tetradic
#211E8A #8A1E51 #878A1E #1E8A57
square
#211E8A #8A1E51 #878A1E #1E8A57
split-complementary
#211E8A #8A571E #518A1E
monochromatic
#090825 #151358 #211E8A #2D29BC #4F4BD8

Accessibility & contrast

On white

12.98
#211E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8A#FFFFFF#000000##FFFFFF
##211E8A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211e8a;
/* rgb */ color: rgb(33, 30, 138);
/* oklch */ color: oklch(33.0% 0.170 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f5cad',
    500: '#211e8a',
    950: '#000000',
  },
}
SCSS
$custom: #211e8a;
$custom-light: #6f5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8a",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 241.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.16994,
    "h": 273.2
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#211E8A
secondary
#B7BA4A
accent
#E741E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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