#211C87#211C87

#211C87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.168 H 273.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#211C87
RGBrgb(33, 28, 135)
HSLhsl(243, 66%, 32%)
HSVhsv(243, 79%, 53%)
CMYKcmyk(75.6%, 79.3%, 0%, 47.1%)
CIE-LABlab(19.65, 38.72, -57.98)
CIE-LCHlch(19.65, 69.72, 303.74°)
OKLaboklab(32.41% 0.011 -0.1677)
OKLCHoklch(32.41% 0.168 273.7)
XYZxyz(5.4142, 2.9026, 23.1919)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C87 #82871C
analogous
#1C4D87 #211C87 #571C87
triadic
#211C87 #87211C #1C8721
tetradic
#211C87 #871C4D #82871C #1C8757
square
#211C87 #871C4D #82871C #1C8757
split-complementary
#211C87 #87571C #4D871C
monochromatic
#080722 #151154 #211C87 #2D27BA #4C45D8

Accessibility & contrast

On white

13.29
#211C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#211C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C87
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C87#FFFFFF#000000##FFFFFF
##211C871.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #211c87;
/* rgb */ color: rgb(33, 28, 135);
/* oklch */ color: oklch(32.4% 0.168 273.7);
Tailwind
colors: {
  custom: {
    50: '#6e5aab',
    500: '#211c87',
    950: '#000000',
  },
}
SCSS
$custom: #211c87;
$custom-light: #6e5aab;
$custom-dark: #000000;
JSON
{
  "hex": "#211c87",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 242.804,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.16809,
    "h": 273.7
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#211C87
secondary
#B4BA45
accent
#E93FE1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #211C87

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

Preview Lab → · Contrast checker → · Palette generator →

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