#211E8C#211E8C

#211E8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.172 H 273.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#211E8C
RGBrgb(33, 30, 140)
HSLhsl(242, 65%, 33%)
HSVhsv(242, 79%, 55%)
CMYKcmyk(76.4%, 78.6%, 0%, 45.1%)
CIE-LABlab(20.61, 39.29, -59.51)
CIE-LCHlch(20.61, 71.31, 303.44°)
OKLaboklab(33.26% 0.009 -0.1722)
OKLCHoklch(33.26% 0.172 273)
XYZxyz(5.8235, 3.1447, 25.1059)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211E8C #898C1E
analogous
#1E528C #211E8C #581E8C
triadic
#211E8C #8C211E #1E8C21
tetradic
#211E8C #8C1E52 #898C1E #1E8C58
square
#211E8C #8C1E52 #898C1E #1E8C58
split-complementary
#211E8C #8C581E #528C1E
monochromatic
#090827 #15135A #211E8C #2D29BE #504CD9

Accessibility & contrast

On white

12.89
#211E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211E8C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211E8C#FFFFFF#000000##FFFFFF
##211E8C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211e8c;
/* rgb */ color: rgb(33, 30, 140);
/* oklch */ color: oklch(33.3% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#705caf',
    500: '#211e8c',
    950: '#000000',
  },
}
SCSS
$custom: #211e8c;
$custom-light: #705caf;
$custom-dark: #000000;
JSON
{
  "hex": "#211e8c",
  "rgb": {
    "r": 33,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 241.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33259,
    "c": 0.17245,
    "h": 273
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#211E8C
secondary
#B8BB4B
accent
#E840E3
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #211E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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