#211F87#211F87

#211F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.165 H 273.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#211F87
RGBrgb(33, 31, 135)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 77%, 53%)
CMYKcmyk(75.6%, 77%, 0%, 47.1%)
CIE-LABlab(20.25, 37.01, -56.98)
CIE-LCHlch(20.25, 67.95, 303.00°)
OKLaboklab(32.84% 0.0096 -0.1649)
OKLCHoklch(32.84% 0.165 273.3)
XYZxyz(5.4889, 3.0520, 23.2168)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F87 #85871F
analogous
#1F5187 #211F87 #551F87
triadic
#211F87 #87211F #1F8721
tetradic
#211F87 #871F51 #85871F #1F8755
square
#211F87 #871F51 #85871F #1F8755
split-complementary
#211F87 #87551F #51871F
monochromatic
#090823 #151455 #211F87 #2D2AB9 #4D4BD6

Accessibility & contrast

On white

13.04
#211F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F87
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F87#FFFFFF#000000##FFFFFF
##211F871.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211f87;
/* rgb */ color: rgb(33, 31, 135);
/* oklch */ color: oklch(32.8% 0.165 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e5cab',
    500: '#211f87',
    950: '#000000',
  },
}
SCSS
$custom: #211f87;
$custom-light: #6e5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#211f87",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 241.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32835,
    "c": 0.16515,
    "h": 273.3
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#211F87
secondary
#B6B84A
accent
#E642E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211F87

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

Preview Lab → · Contrast checker → · Palette generator →

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