#211989#211989

#211989 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.173 H 273.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#211989
RGBrgb(33, 25, 137)
HSLhsl(244, 69%, 32%)
HSVhsv(244, 82%, 54%)
CMYKcmyk(75.9%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.33, 41.00, -59.77)
CIE-LCHlch(19.33, 72.48, 304.45°)
OKLaboklab(32.25% 0.0117 -0.1729)
OKLCHoklch(32.25% 0.173 273.9)
XYZxyz(5.4887, 2.8242, 23.9179)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211989 #818919
analogous
#194989 #211989 #591989
triadic
#211989 #892119 #198921
tetradic
#211989 #891949 #818919 #198959
square
#211989 #891949 #818919 #198959
split-complementary
#211989 #895919 #498919
monochromatic
#080621 #151055 #211989 #2D22BD #4B40DC

Accessibility & contrast

On white

13.42
#211989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#211989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211989
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211989#FFFFFF#000000##FFFFFF
##2119891.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #211989;
/* rgb */ color: rgb(33, 25, 137);
/* oklch */ color: oklch(32.3% 0.173 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f59ad',
    500: '#211989',
    950: '#000000',
  },
}
SCSS
$custom: #211989;
$custom-light: #6f59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#211989",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 244.286,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32253,
    "c": 0.17328,
    "h": 273.9
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211989

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

Preview Lab → · Contrast checker → · Palette generator →

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