#211F86#211F86

#211F86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.164 H 273.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#211F86
RGBrgb(33, 31, 134)
HSLhsl(241, 62%, 32%)
HSVhsv(241, 77%, 53%)
CMYKcmyk(75.4%, 76.9%, 0%, 47.5%)
CIE-LABlab(20.14, 36.66, -56.54)
CIE-LCHlch(20.14, 67.39, 302.96°)
OKLaboklab(32.72% 0.0098 -0.1636)
OKLCHoklch(32.72% 0.164 273.4)
XYZxyz(5.4188, 3.0240, 22.8477)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F86 #84861F
analogous
#1F5186 #211F86 #551F86
triadic
#211F86 #86211F #1F8621
tetradic
#211F86 #861F51 #84861F #1F8655
square
#211F86 #861F51 #84861F #1F8655
split-complementary
#211F86 #86551F #51861F
monochromatic
#090823 #151454 #211F86 #2D2AB8 #4D4AD5

Accessibility & contrast

On white

13.08
#211F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#211F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F86
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F86#FFFFFF#000000##FFFFFF
##211F861.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211f86;
/* rgb */ color: rgb(33, 31, 134);
/* oklch */ color: oklch(32.7% 0.164 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e5caa',
    500: '#211f86',
    950: '#000000',
  },
}
SCSS
$custom: #211f86;
$custom-light: #6e5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#211f86",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 241.165,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.16387,
    "h": 273.4
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#211F86
secondary
#B6B849
accent
#E542E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211F86

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

Preview Lab → · Contrast checker → · Palette generator →

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