#211D80#211D80

#211D80 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.158 H 274.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#211D80
RGBrgb(33, 29, 128)
HSLhsl(242, 63%, 31%)
HSVhsv(242, 77%, 50%)
CMYKcmyk(74.2%, 77.3%, 0%, 49.8%)
CIE-LABlab(19.06, 35.76, -54.54)
CIE-LCHlch(19.06, 65.22, 303.25°)
OKLaboklab(31.76% 0.012 -0.1577)
OKLCHoklch(31.76% 0.158 274.4)
XYZxyz(4.9616, 2.7601, 20.6892)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211D80 #7C801D
analogous
#1D4A80 #211D80 #521D80
triadic
#211D80 #80211D #1D8021
tetradic
#211D80 #801D4A #7C801D #1D8052
square
#211D80 #801D4A #7C801D #1D8052
split-complementary
#211D80 #80521D #4A801D
monochromatic
#07061C #14124E #211D80 #2E28B2 #4943D4

Accessibility & contrast

On white

13.53
#211D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#211D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211D80
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211D80#FFFFFF#000000##FFFFFF
##211D801.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #211d80;
/* rgb */ color: rgb(33, 29, 128);
/* oklch */ color: oklch(31.8% 0.158 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d5ba6',
    500: '#211d80',
    950: '#000000',
  },
}
SCSS
$custom: #211d80;
$custom-light: #6d5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#211d80",
  "rgb": {
    "r": 33,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 242.424,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.1582,
    "h": 274.4
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#211D80
secondary
#AFB345
accent
#E642DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #211D80

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

Preview Lab → · Contrast checker → · Palette generator →

#211D80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva