#211C78#211C78

#211C78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.149 H 275.5°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#211C78
RGBrgb(33, 28, 120)
HSLhsl(243, 62%, 29%)
HSVhsv(243, 77%, 47%)
CMYKcmyk(72.5%, 76.7%, 0%, 52.9%)
CIE-LABlab(17.96, 33.57, -51.25)
CIE-LCHlch(17.96, 61.26, 303.23°)
OKLaboklab(30.72% 0.0143 -0.1481)
OKLCHoklch(30.72% 0.149 275.5)
XYZxyz(4.4315, 2.5095, 18.0165)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211C78 #73781C
analogous
#1C4578 #211C78 #4F1C78
triadic
#211C78 #78211C #1C7821
tetradic
#211C78 #781C45 #73781C #1C784F
square
#211C78 #781C45 #73781C #1C784F
split-complementary
#211C78 #784F1C #45781C
monochromatic
#070619 #131046 #211C78 #2F28AA #453DD2

Accessibility & contrast

On white

13.98
#211C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#211C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211C78
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211C78#FFFFFF#000000##FFFFFF
##211C781.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #211c78;
/* rgb */ color: rgb(33, 28, 120);
/* oklch */ color: oklch(30.7% 0.149 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b5aa0',
    500: '#211c78',
    950: '#000000',
  },
}
SCSS
$custom: #211c78;
$custom-light: #6b5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#211c78",
  "rgb": {
    "r": 33,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 243.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.14883,
    "h": 275.5
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#211C78
secondary
#A6AC44
accent
#E543DC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #211C78

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

Preview Lab → · Contrast checker → · Palette generator →

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