#211591#211591

#211591 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.186 H 273.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#211591
RGBrgb(33, 21, 145)
HSLhsl(246, 75%, 33%)
HSVhsv(246, 86%, 57%)
CMYKcmyk(77.2%, 85.5%, 0%, 43.1%)
CIE-LABlab(19.65, 45.46, -64.22)
CIE-LCHlch(19.65, 78.68, 305.29°)
OKLaboklab(32.76% 0.0108 -0.1857)
OKLCHoklch(32.76% 0.186 273.3)
XYZxyz(6.0045, 2.9034, 27.0265)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211591 #859115
analogous
#154791 #211591 #5F1591
triadic
#211591 #912115 #159121
tetradic
#211591 #911547 #859115 #15915F
square
#211591 #911547 #859115 #15915F
split-complementary
#211591 #915F15 #479115
monochromatic
#090626 #150D5C #211591 #2D1DC6 #4D3DE3

Accessibility & contrast

On white

13.28
#211591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#211591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211591
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211591#FFFFFF#000000##FFFFFF
##2115911.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003594
Deuteranopia (green-blind)
#002A8F
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211591;
/* rgb */ color: rgb(33, 21, 145);
/* oklch */ color: oklch(32.8% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#7257b3',
    500: '#211591',
    950: '#000000',
  },
}
SCSS
$custom: #211591;
$custom-light: #7257b3;
$custom-dark: #000000;
JSON
{
  "hex": "#211591",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 145
  },
  "hsl": {
    "h": 245.806,
    "s": 74.699,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32764,
    "c": 0.18604,
    "h": 273.3
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#211591
secondary
#B6C33F
accent
#F136DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #211591

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

Preview Lab → · Contrast checker → · Palette generator →

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