#211F99#211F99

#211F99 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.188 H 271.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#211F99
RGBrgb(33, 31, 153)
HSLhsl(241, 66%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.4%, 79.7%, 0%, 40%)
CIE-LABlab(22.31, 43.09, -64.76)
CIE-LCHlch(22.31, 77.78, 303.64°)
OKLaboklab(34.89% 0.0058 -0.1874)
OKLCHoklch(34.89% 0.188 271.8)
XYZxyz(6.8650, 3.6025, 30.4644)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F99 #97991F
analogous
#1F5A99 #211F99 #5E1F99
triadic
#211F99 #99211F #1F9921
tetradic
#211F99 #991F5A #97991F #1F995E
square
#211F99 #991F5A #97991F #1F995E
split-complementary
#211F99 #995E1F #5A991F
monochromatic
#0B0A33 #161566 #211F99 #2C29CC #5856DD

Accessibility & contrast

On white

12.21
#211F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#211F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F99
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F99#FFFFFF#000000##FFFFFF
##211F991.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#002F97
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #211f99;
/* rgb */ color: rgb(33, 31, 153);
/* oklch */ color: oklch(34.9% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#735db8',
    500: '#211f99',
    950: '#000000',
  },
}
SCSS
$custom: #211f99;
$custom-light: #735db8;
$custom-dark: #000000;
JSON
{
  "hex": "#211f99",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 240.984,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.18754,
    "h": 271.8
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#211F99
secondary
#BEC054
accent
#E93FE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #211F99

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

Preview Lab → · Contrast checker → · Palette generator →

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