#211F85#211F85

#211F85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.163 H 273.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#211F85
RGBrgb(33, 31, 133)
HSLhsl(241, 62%, 32%)
HSVhsv(241, 77%, 52%)
CMYKcmyk(75.2%, 76.7%, 0%, 47.8%)
CIE-LABlab(20.03, 36.32, -56.09)
CIE-LCHlch(20.03, 66.82, 302.92°)
OKLaboklab(32.61% 0.01 -0.1623)
OKLCHoklch(32.61% 0.163 273.5)
XYZxyz(5.3494, 2.9962, 22.4822)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F85 #83851F
analogous
#1F5085 #211F85 #541F85
triadic
#211F85 #85211F #1F8521
tetradic
#211F85 #851F50 #83851F #1F8554
square
#211F85 #851F50 #83851F #1F8554
split-complementary
#211F85 #85541F #50851F
monochromatic
#080822 #151353 #211F85 #2D2BB7 #4C4AD5

Accessibility & contrast

On white

13.13
#211F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#211F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F85
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F85#FFFFFF#000000##FFFFFF
##211F851.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211f85;
/* rgb */ color: rgb(33, 31, 133);
/* oklch */ color: oklch(32.6% 0.163 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e5caa',
    500: '#211f85',
    950: '#000000',
  },
}
SCSS
$custom: #211f85;
$custom-light: #6e5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#211f85",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 241.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32612,
    "c": 0.16259,
    "h": 273.5
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#211F85
secondary
#B5B749
accent
#E543E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211F85

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

Preview Lab → · Contrast checker → · Palette generator →

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