#211A97#211A97

#211A97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.189 H 272.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#211A97
RGBrgb(33, 26, 151)
HSLhsl(243, 71%, 35%)
HSVhsv(243, 83%, 59%)
CMYKcmyk(78.1%, 82.8%, 0%, 40.8%)
CIE-LABlab(21.19, 45.00, -65.38)
CIE-LCHlch(21.19, 79.37, 304.54°)
OKLaboklab(34.04% 0.0078 -0.1892)
OKLCHoklch(34.04% 0.189 272.4)
XYZxyz(6.5806, 3.2958, 29.5615)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A97 #90971A
analogous
#1A5297 #211A97 #601A97
triadic
#211A97 #97211A #1A9721
tetradic
#211A97 #971A52 #90971A #1A9760
square
#211A97 #971A52 #90971A #1A9760
split-complementary
#211A97 #97601A #52971A
monochromatic
#0A082F #161163 #211A97 #2C23CB #544BE0

Accessibility & contrast

On white

12.66
#211A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#211A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A97
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A97#FFFFFF#000000##FFFFFF
##211A971.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211a97;
/* rgb */ color: rgb(33, 26, 151);
/* oklch */ color: oklch(34.0% 0.189 272.4);
Tailwind
colors: {
  custom: {
    50: '#735ab7',
    500: '#211a97',
    950: '#000000',
  },
}
SCSS
$custom: #211a97;
$custom-light: #735ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#211a97",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 243.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.18934,
    "h": 272.4
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#211A97
secondary
#BBC24B
accent
#ED3AE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #211A97

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

Preview Lab → · Contrast checker → · Palette generator →

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