#211A9E#211A9E

#211A9E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 271.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#211A9E
RGBrgb(33, 26, 158)
HSLhsl(243, 72%, 36%)
HSVhsv(243, 84%, 62%)
CMYKcmyk(79.1%, 83.5%, 0%, 38%)
CIE-LABlab(22.05, 47.21, -68.25)
CIE-LCHlch(22.05, 82.99, 304.67°)
OKLaboklab(34.89% 0.0061 -0.1975)
OKLCHoklch(34.89% 0.198 271.8)
XYZxyz(7.1661, 3.5300, 32.6448)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A9E #979E1A
analogous
#1A559E #211A9E #631A9E
triadic
#211A9E #9E211A #1A9E21
tetradic
#211A9E #9E1A55 #979E1A #1A9E63
square
#211A9E #9E1A55 #979E1A #1A9E63
split-complementary
#211A9E #9E631A #559E1A
monochromatic
#0B0935 #161169 #211A9E #2C23D3 #5850E2

Accessibility & contrast

On white

12.31
#211A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#211A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A9E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A9E#FFFFFF#000000##FFFFFF
##211A9E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211a9e;
/* rgb */ color: rgb(33, 26, 158);
/* oklch */ color: oklch(34.9% 0.198 271.8);
Tailwind
colors: {
  custom: {
    50: '#755bbc',
    500: '#211a9e',
    950: '#000000',
  },
}
SCSS
$custom: #211a9e;
$custom-light: #755bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#211a9e",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 243.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.19758,
    "h": 271.8
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#211A9E
secondary
#BEC54F
accent
#EE39E5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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