#211571#211571

#211571 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.147 H 277.8°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#211571
RGBrgb(33, 21, 113)
HSLhsl(248, 69%, 26%)
HSVhsv(248, 81%, 44%)
CMYKcmyk(70.8%, 81.4%, 0%, 55.7%)
CIE-LABlab(15.76, 35.21, -50.37)
CIE-LCHlch(15.76, 61.46, 304.95°)
OKLaboklab(28.93% 0.02 -0.1455)
OKLCHoklch(28.93% 0.147 277.8)
XYZxyz(3.8750, 2.0516, 15.8114)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211571 #657115
analogous
#153771 #211571 #4F1571
triadic
#211571 #712115 #157121
tetradic
#211571 #711537 #657115 #15714F
square
#211571 #711537 #657115 #15714F
split-complementary
#211571 #714F15 #377115
monochromatic
#08051A #120B3D #211571 #301FA5 #4029D7

Accessibility & contrast

On white

14.89
#211571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211571
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211571#FFFFFF#000000##FFFFFF
##2115711.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211571;
/* rgb */ color: rgb(33, 21, 113);
/* oklch */ color: oklch(28.9% 0.147 277.8);
Tailwind
colors: {
  custom: {
    50: '#6a559b',
    500: '#211571',
    950: '#000000',
  },
}
SCSS
$custom: #211571;
$custom-light: #6a559b;
$custom-dark: #000000;
JSON
{
  "hex": "#211571",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 247.826,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28931,
    "c": 0.1469,
    "h": 277.8
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#211571
secondary
#99A73B
accent
#EB3CD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211571

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

Preview Lab → · Contrast checker → · Palette generator →

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