#211481#211481

#211481 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.168 H 275.4°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#211481
RGBrgb(33, 20, 129)
HSLhsl(247, 73%, 29%)
HSVhsv(247, 84%, 51%)
CMYKcmyk(74.4%, 84.5%, 0%, 49.4%)
CIE-LABlab(17.50, 40.92, -57.75)
CIE-LCHlch(17.50, 70.78, 305.32°)
OKLaboklab(30.7% 0.0158 -0.1669)
OKLCHoklch(30.7% 0.168 275.4)
XYZxyz(4.8385, 2.4082, 20.9744)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211481 #748114
analogous
#143E81 #211481 #581481
triadic
#211481 #812114 #148121
tetradic
#211481 #81143E #748114 #148158
square
#211481 #81143E #748114 #148158
split-complementary
#211481 #815814 #3E8114
monochromatic
#07041A #130C4C #211481 #2F1CB6 #4530DF

Accessibility & contrast

On white

14.17
#211481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#211481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211481
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211481#FFFFFF#000000##FFFFFF
##2114811.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.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: #211481;
/* rgb */ color: rgb(33, 20, 129);
/* oklch */ color: oklch(30.7% 0.168 275.4);
Tailwind
colors: {
  custom: {
    50: '#6e56a7',
    500: '#211481',
    950: '#000000',
  },
}
SCSS
$custom: #211481;
$custom-light: #6e56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#211481",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 247.156,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30703,
    "c": 0.1677,
    "h": 275.4
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#211481
secondary
#A7B63B
accent
#F038DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #211481

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

Preview Lab → · Contrast checker → · Palette generator →

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