#211F91#211F91

#211F91 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.178 H 272.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#211F91
RGBrgb(33, 31, 145)
HSLhsl(241, 65%, 35%)
HSVhsv(241, 79%, 57%)
CMYKcmyk(77.2%, 78.6%, 0%, 43.1%)
CIE-LABlab(21.38, 40.42, -61.35)
CIE-LCHlch(21.38, 73.47, 303.38°)
OKLaboklab(33.97% 0.0075 -0.1776)
OKLCHoklch(33.97% 0.178 272.4)
XYZxyz(6.2263, 3.3470, 27.1005)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F91 #8F911F
analogous
#1F5691 #211F91 #5A1F91
triadic
#211F91 #91211F #1F9121
tetradic
#211F91 #911F56 #8F911F #1F915A
square
#211F91 #911F56 #8F911F #1F915A
split-complementary
#211F91 #915A1F #56911F
monochromatic
#0A092C #16145F #211F91 #2C2AC3 #5351DA

Accessibility & contrast

On white

12.58
#211F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#211F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F91
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F91#FFFFFF#000000##FFFFFF
##211F911.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002E8F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211f91;
/* rgb */ color: rgb(33, 31, 145);
/* oklch */ color: oklch(34.0% 0.178 272.4);
Tailwind
colors: {
  custom: {
    50: '#715db2',
    500: '#211f91',
    950: '#000000',
  },
}
SCSS
$custom: #211f91;
$custom-light: #715db2;
$custom-dark: #000000;
JSON
{
  "hex": "#211f91",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 241.053,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.17773,
    "h": 272.4
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#211F91
secondary
#BBBD4F
accent
#E840E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F91

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

Preview Lab → · Contrast checker → · Palette generator →

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