#211F9A#211F9A

#211F9A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.189 H 271.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#211F9A
RGBrgb(33, 31, 154)
HSLhsl(241, 66%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.6%, 79.9%, 0%, 39.6%)
CIE-LABlab(22.43, 43.42, -65.18)
CIE-LCHlch(22.43, 78.32, 303.67°)
OKLaboklab(35.01% 0.0056 -0.1887)
OKLCHoklch(35.01% 0.189 271.7)
XYZxyz(6.9480, 3.6356, 30.9012)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F9A #989A1F
analogous
#1F5B9A #211F9A #5F1F9A
triadic
#211F9A #9A211F #1F9A21
tetradic
#211F9A #9A1F5B #989A1F #1F9A5F
square
#211F9A #9A1F5B #989A1F #1F9A5F
split-complementary
#211F9A #9A5F1F #5B9A1F
monochromatic
#0B0A34 #161567 #211F9A #2C29CD #5956DD

Accessibility & contrast

On white

12.16
#211F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#211F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F9A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F9A#FFFFFF#000000##FFFFFF
##211F9A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#002F98
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #211f9a;
/* rgb */ color: rgb(33, 31, 154);
/* oklch */ color: oklch(35.0% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#735db9',
    500: '#211f9a',
    950: '#000000',
  },
}
SCSS
$custom: #211f9a;
$custom-light: #735db9;
$custom-dark: #000000;
JSON
{
  "hex": "#211f9a",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 240.976,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35007,
    "c": 0.18875,
    "h": 271.7
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#211F9A
secondary
#BFC154
accent
#E93EE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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