#211C96#211C96

#211C96 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.187 H 272.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#211C96
RGBrgb(33, 28, 150)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 81%, 59%)
CMYKcmyk(78%, 81.3%, 0%, 41.2%)
CIE-LABlab(21.41, 43.68, -64.40)
CIE-LCHlch(21.41, 77.81, 304.15°)
OKLaboklab(34.16% 0.0074 -0.1864)
OKLCHoklch(34.16% 0.187 272.3)
XYZxyz(6.5456, 3.3551, 29.1509)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C96 #91961C
analogous
#1C5496 #211C96 #5E1C96
triadic
#211C96 #96211C #1C9621
tetradic
#211C96 #961C54 #91961C #1C965E
square
#211C96 #961C54 #91961C #1C965E
split-complementary
#211C96 #965E1C #54961C
monochromatic
#0A092F #161262 #211C96 #2C26CA #544EDE

Accessibility & contrast

On white

12.57
#211C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#211C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C96
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C96#FFFFFF#000000##FFFFFF
##211C961.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211c96;
/* rgb */ color: rgb(33, 28, 150);
/* oklch */ color: oklch(34.2% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#725bb6',
    500: '#211c96',
    950: '#000000',
  },
}
SCSS
$custom: #211c96;
$custom-light: #725bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#211c96",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 242.459,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.18651,
    "h": 272.3
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#211C96
secondary
#BCC14D
accent
#EB3CE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211C96

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

Preview Lab → · Contrast checker → · Palette generator →

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