#211578#211578

#211578 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.156 H 276.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#211578
RGBrgb(33, 21, 120)
HSLhsl(247, 70%, 28%)
HSVhsv(247, 83%, 47%)
CMYKcmyk(72.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(16.58, 37.52, -53.53)
CIE-LCHlch(16.58, 65.37, 305.03°)
OKLaboklab(29.75% 0.018 -0.1547)
OKLCHoklch(29.75% 0.156 276.6)
XYZxyz(4.2844, 2.2153, 17.9675)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211578 #6C7815
analogous
#153A78 #211578 #531578
triadic
#211578 #782115 #157821
tetradic
#211578 #78153A #6C7815 #157853
square
#211578 #78153A #6C7815 #157853
split-complementary
#211578 #785315 #3A7815
monochromatic
#07051A #130C44 #211578 #2F1EAC #422DDA

Accessibility & contrast

On white

14.55
#211578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#211578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211578
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211578#FFFFFF#000000##FFFFFF
##2115781.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211578;
/* rgb */ color: rgb(33, 21, 120);
/* oklch */ color: oklch(29.7% 0.156 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b55a0',
    500: '#211578',
    950: '#000000',
  },
}
SCSS
$custom: #211578;
$custom-light: #6b55a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211578",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 247.273,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.15576,
    "h": 276.6
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#211578
secondary
#A0AE3B
accent
#ED3BD7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211578

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

Preview Lab → · Contrast checker → · Palette generator →

#211578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva