#211F88#211F88

#211F88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.166 H 273.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#211F88
RGBrgb(33, 31, 136)
HSLhsl(241, 63%, 33%)
HSVhsv(241, 77%, 53%)
CMYKcmyk(75.7%, 77.2%, 0%, 46.7%)
CIE-LABlab(20.36, 37.36, -57.43)
CIE-LCHlch(20.36, 68.51, 303.04°)
OKLaboklab(32.95% 0.0094 -0.1662)
OKLCHoklch(32.95% 0.166 273.2)
XYZxyz(5.5596, 3.0803, 23.5893)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211F88 #86881F
analogous
#1F5188 #211F88 #551F88
triadic
#211F88 #88211F #1F8821
tetradic
#211F88 #881F51 #86881F #1F8855
square
#211F88 #881F51 #86881F #1F8855
split-complementary
#211F88 #88551F #51881F
monochromatic
#090824 #151456 #211F88 #2D2ABA #4E4BD6

Accessibility & contrast

On white

12.99
#211F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#211F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211F88
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211F88#FFFFFF#000000##FFFFFF
##211F881.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #211f88;
/* rgb */ color: rgb(33, 31, 136);
/* oklch */ color: oklch(32.9% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#6e5cac',
    500: '#211f88',
    950: '#000000',
  },
}
SCSS
$custom: #211f88;
$custom-light: #6e5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#211f88",
  "rgb": {
    "r": 33,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 241.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32947,
    "c": 0.16642,
    "h": 273.2
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#211F88
secondary
#B7B94A
accent
#E642E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211F88

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

Preview Lab → · Contrast checker → · Palette generator →

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