#211F84#211F84

#211F84 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.161 H 273.6°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#211F84
RGBrgb(33, 31, 132)
HSLhsl(241, 62%, 32%)
HSVhsv(241, 77%, 52%)
CMYKcmyk(75%, 76.5%, 0%, 48.2%)
CIE-LABlab(19.92, 35.97, -55.64)
CIE-LCHlch(19.92, 66.26, 302.88°)
OKLaboklab(32.5% 0.0102 -0.161)
OKLCHoklch(32.5% 0.161 273.6)
XYZxyz(5.2807, 2.9687, 22.1200)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F84 #82841F
analogous
#1F5084 #211F84 #541F84
triadic
#211F84 #84211F #1F8421
tetradic
#211F84 #841F50 #82841F #1F8454
square
#211F84 #841F50 #82841F #1F8454
split-complementary
#211F84 #84541F #50841F
monochromatic
#080821 #151352 #211F84 #2D2BB6 #4C49D4

Accessibility & contrast

On white

13.18
#211F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211F84
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F84#FFFFFF#000000##FFFFFF
##211F841.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211f84;
/* rgb */ color: rgb(33, 31, 132);
/* oklch */ color: oklch(32.5% 0.161 273.6);
Tailwind
colors: {
  custom: {
    50: '#6d5ca9',
    500: '#211f84',
    950: '#000000',
  },
}
SCSS
$custom: #211f84;
$custom-light: #6d5ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#211f84",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 241.188,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.1613,
    "h": 273.6
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211F84

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

Preview Lab → · Contrast checker → · Palette generator →

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