#211988#211988

#211988 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.172 H 274.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#211988
RGBrgb(33, 25, 136)
HSLhsl(244, 69%, 32%)
HSVhsv(244, 82%, 53%)
CMYKcmyk(75.7%, 81.6%, 0%, 46.7%)
CIE-LABlab(19.21, 40.67, -59.34)
CIE-LCHlch(19.21, 71.94, 304.43°)
OKLaboklab(32.14% 0.012 -0.1716)
OKLCHoklch(32.14% 0.172 274)
XYZxyz(5.4173, 2.7956, 23.5419)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211988 #808819
analogous
#194988 #211988 #591988
triadic
#211988 #882119 #198821
tetradic
#211988 #881949 #808819 #198859
square
#211988 #881949 #808819 #198859
split-complementary
#211988 #885919 #498819
monochromatic
#080621 #140F54 #211988 #2E23BC #4B40DC

Accessibility & contrast

On white

13.47
#211988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#211988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211988
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211988#FFFFFF#000000##FFFFFF
##2119881.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211988;
/* rgb */ color: rgb(33, 25, 136);
/* oklch */ color: oklch(32.1% 0.172 274.0);
Tailwind
colors: {
  custom: {
    50: '#6f59ac',
    500: '#211988',
    950: '#000000',
  },
}
SCSS
$custom: #211988;
$custom-light: #6f59ac;
$custom-dark: #000000;
JSON
{
  "hex": "#211988",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 244.324,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.17206,
    "h": 274
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#211988
secondary
#B3BB41
accent
#EC3CDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #211988

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

Preview Lab → · Contrast checker → · Palette generator →

#211988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva