#211F8F#211F8F

#211F8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 272.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#211F8F
RGBrgb(33, 31, 143)
HSLhsl(241, 64%, 34%)
HSVhsv(241, 78%, 56%)
CMYKcmyk(76.9%, 78.3%, 0%, 43.9%)
CIE-LABlab(21.15, 39.75, -60.49)
CIE-LCHlch(21.15, 72.38, 303.31°)
OKLaboklab(33.74% 0.0079 -0.1751)
OKLCHoklch(33.74% 0.175 272.6)
XYZxyz(6.0734, 3.2858, 26.2954)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F8F #8D8F1F
analogous
#1F558F #211F8F #591F8F
triadic
#211F8F #8F211F #1F8F21
tetradic
#211F8F #8F1F55 #8D8F1F #1F8F59
square
#211F8F #8F1F55 #8D8F1F #1F8F59
split-complementary
#211F8F #8F591F #558F1F
monochromatic
#0A092A #15145D #211F8F #2D2AC1 #524FD9

Accessibility & contrast

On white

12.67
#211F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#211F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F8F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F8F#FFFFFF#000000##FFFFFF
##211F8F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #211f8f;
/* rgb */ color: rgb(33, 31, 143);
/* oklch */ color: oklch(33.7% 0.175 272.6);
Tailwind
colors: {
  custom: {
    50: '#705db1',
    500: '#211f8f',
    950: '#000000',
  },
}
SCSS
$custom: #211f8f;
$custom-light: #705db1;
$custom-dark: #000000;
JSON
{
  "hex": "#211f8f",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 241.071,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33739,
    "c": 0.17524,
    "h": 272.6
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#211F8F
secondary
#BABC4E
accent
#E740E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #211F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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