#211F8A#211F8A

#211F8A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.169 H 273.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#211F8A
RGBrgb(33, 31, 138)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 78%, 54%)
CMYKcmyk(76.1%, 77.5%, 0%, 45.9%)
CIE-LABlab(20.59, 38.04, -58.31)
CIE-LCHlch(20.59, 69.62, 303.12°)
OKLaboklab(33.17% 0.009 -0.1687)
OKLCHoklch(33.17% 0.169 273)
XYZxyz(5.7031, 3.1377, 24.3449)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F8A #888A1F
analogous
#1F538A #211F8A #561F8A
triadic
#211F8A #8A211F #1F8A21
tetradic
#211F8A #8A1F53 #888A1F #1F8A56
square
#211F8A #8A1F53 #888A1F #1F8A56
split-complementary
#211F8A #8A561F #538A1F
monochromatic
#090926 #151458 #211F8A #2D2ABC #4F4CD7

Accessibility & contrast

On white

12.90
#211F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#211F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F8A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F8A#FFFFFF#000000##FFFFFF
##211F8A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002C88
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #211f8a;
/* rgb */ color: rgb(33, 31, 138);
/* oklch */ color: oklch(33.2% 0.169 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f5cad',
    500: '#211f8a',
    950: '#000000',
  },
}
SCSS
$custom: #211f8a;
$custom-light: #6f5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#211f8a",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 241.121,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33172,
    "c": 0.16896,
    "h": 273
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#211F8A
secondary
#B8BA4B
accent
#E641E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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