#211F82#211F82

#211F82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.159 H 273.8°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#211F82
RGBrgb(33, 31, 130)
HSLhsl(241, 61%, 32%)
HSVhsv(241, 76%, 51%)
CMYKcmyk(74.6%, 76.2%, 0%, 49%)
CIE-LABlab(19.70, 35.27, -54.75)
CIE-LCHlch(19.70, 65.12, 302.79°)
OKLaboklab(32.28% 0.0106 -0.1584)
OKLCHoklch(32.28% 0.159 273.8)
XYZxyz(5.1451, 2.9145, 21.4062)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F82 #80821F
analogous
#1F4F82 #211F82 #531F82
triadic
#211F82 #82211F #1F8221
tetradic
#211F82 #821F4F #80821F #1F8253
square
#211F82 #821F4F #80821F #1F8253
split-complementary
#211F82 #82531F #4F821F
monochromatic
#08071F #141351 #211F82 #2E2BB3 #4B48D3

Accessibility & contrast

On white

13.27
#211F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#211F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F82
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F82#FFFFFF#000000##FFFFFF
##211F821.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211f82;
/* rgb */ color: rgb(33, 31, 130);
/* oklch */ color: oklch(32.3% 0.159 273.8);
Tailwind
colors: {
  custom: {
    50: '#6d5ca7',
    500: '#211f82',
    950: '#000000',
  },
}
SCSS
$custom: #211f82;
$custom-light: #6d5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#211f82",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 241.212,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.15871,
    "h": 273.8
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#211F82
secondary
#B3B548
accent
#E543E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211F82

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

Preview Lab → · Contrast checker → · Palette generator →

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