#211F83#211F83

#211F83 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.160 H 273.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#211F83
RGBrgb(33, 31, 131)
HSLhsl(241, 62%, 32%)
HSVhsv(241, 76%, 51%)
CMYKcmyk(74.8%, 76.3%, 0%, 48.6%)
CIE-LABlab(19.81, 35.62, -55.20)
CIE-LCHlch(19.81, 65.69, 302.84°)
OKLaboklab(32.39% 0.0104 -0.1597)
OKLCHoklch(32.39% 0.16 273.7)
XYZxyz(5.2126, 2.9415, 21.7614)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F83 #81831F
analogous
#1F4F83 #211F83 #531F83
triadic
#211F83 #83211F #1F8321
tetradic
#211F83 #831F4F #81831F #1F8353
square
#211F83 #831F4F #81831F #1F8353
split-complementary
#211F83 #83531F #4F831F
monochromatic
#080820 #151352 #211F83 #2D2BB4 #4B49D4

Accessibility & contrast

On white

13.22
#211F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#211F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F83
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F83#FFFFFF#000000##FFFFFF
##211F831.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211f83;
/* rgb */ color: rgb(33, 31, 131);
/* oklch */ color: oklch(32.4% 0.160 273.7);
Tailwind
colors: {
  custom: {
    50: '#6d5ca8',
    500: '#211f83',
    950: '#000000',
  },
}
SCSS
$custom: #211f83;
$custom-light: #6d5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#211f83",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 241.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3239,
    "c": 0.16001,
    "h": 273.7
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F83

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

Preview Lab → · Contrast checker → · Palette generator →

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