#211A78#211A78

#211A78 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.151 H 275.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#211A78
RGBrgb(33, 26, 120)
HSLhsl(244, 64%, 29%)
HSVhsv(244, 78%, 47%)
CMYKcmyk(72.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(17.54, 34.76, -51.94)
CIE-LCHlch(17.54, 62.49, 303.79°)
OKLaboklab(30.42% 0.0154 -0.1501)
OKLCHoklch(30.42% 0.151 275.9)
XYZxyz(4.3856, 2.4178, 18.0012)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A78 #71781A
analogous
#1A4278 #211A78 #501A78
triadic
#211A78 #78211A #1A7821
tetradic
#211A78 #781A42 #71781A #1A7850
square
#211A78 #781A42 #71781A #1A7850
split-complementary
#211A78 #78501A #42781A
monochromatic
#070519 #130F46 #211A78 #2F25AA #4438D4

Accessibility & contrast

On white

14.15
#211A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#211A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A78
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A78#FFFFFF#000000##FFFFFF
##211A781.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002776
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #211a78;
/* rgb */ color: rgb(33, 26, 120);
/* oklch */ color: oklch(30.4% 0.151 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b58a0',
    500: '#211a78',
    950: '#000000',
  },
}
SCSS
$custom: #211a78;
$custom-light: #6b58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211a78",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 244.468,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30423,
    "c": 0.15093,
    "h": 275.9
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#211A78
secondary
#A5AC41
accent
#E740DB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211A78

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

Preview Lab → · Contrast checker → · Palette generator →

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