#211580#211580

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

Color values

HEX#211580
RGBrgb(33, 21, 128)
HSLhsl(247, 72%, 29%)
HSVhsv(247, 84%, 50%)
CMYKcmyk(74.2%, 83.6%, 0%, 49.8%)
CIE-LABlab(17.54, 40.11, -57.04)
CIE-LCHlch(17.54, 69.74, 305.12°)
OKLaboklab(30.7% 0.0157 -0.1649)
OKLCHoklch(30.7% 0.166 275.4)
XYZxyz(4.7904, 2.4177, 20.6321)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211580 #748015
analogous
#153F80 #211580 #571580
triadic
#211580 #802115 #158021
tetradic
#211580 #80153F #748015 #158057
square
#211580 #80153F #748015 #158057
split-complementary
#211580 #805715 #3F8015
monochromatic
#07041A #130C4B #211580 #2F1EB5 #4532DD

Accessibility & contrast

On white

14.15
#211580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211580
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211580#FFFFFF#000000##FFFFFF
##2115801.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211580;
/* rgb */ color: rgb(33, 21, 128);
/* oklch */ color: oklch(30.7% 0.166 275.4);
Tailwind
colors: {
  custom: {
    50: '#6d56a6',
    500: '#211580',
    950: '#000000',
  },
}
SCSS
$custom: #211580;
$custom-light: #6d56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#211580",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 246.729,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30698,
    "c": 0.16567,
    "h": 275.4
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#211580
secondary
#A7B53C
accent
#EF39DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #211580

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

Preview Lab → · Contrast checker → · Palette generator →

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