#211581#211581

#211581 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 275.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#211581
RGBrgb(33, 21, 129)
HSLhsl(247, 72%, 29%)
HSVhsv(247, 84%, 51%)
CMYKcmyk(74.4%, 83.7%, 0%, 49.4%)
CIE-LABlab(17.66, 40.43, -57.48)
CIE-LCHlch(17.66, 70.27, 305.13°)
OKLaboklab(30.82% 0.0154 -0.1662)
OKLCHoklch(30.82% 0.167 275.3)
XYZxyz(4.8565, 2.4442, 20.9805)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211581 #758115
analogous
#153F81 #211581 #571581
triadic
#211581 #812115 #158121
tetradic
#211581 #81153F #758115 #158157
square
#211581 #81153F #758115 #158157
split-complementary
#211581 #815715 #3F8115
monochromatic
#07041A #140C4C #211581 #2E1EB6 #4633DE

Accessibility & contrast

On white

14.10
#211581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211581
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211581#FFFFFF#000000##FFFFFF
##2115811.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211581;
/* rgb */ color: rgb(33, 21, 129);
/* oklch */ color: oklch(30.8% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e56a7',
    500: '#211581',
    950: '#000000',
  },
}
SCSS
$custom: #211581;
$custom-light: #6e56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211581",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 246.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.16688,
    "h": 275.3
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#211581
secondary
#A8B63C
accent
#EF39DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211581

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

Preview Lab → · Contrast checker → · Palette generator →

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