#211B78#211B78

#211B78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.150 H 275.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#211B78
RGBrgb(33, 27, 120)
HSLhsl(244, 63%, 29%)
HSVhsv(244, 78%, 47%)
CMYKcmyk(72.5%, 77.5%, 0%, 52.9%)
CIE-LABlab(17.75, 34.17, -51.59)
CIE-LCHlch(17.75, 61.88, 303.52°)
OKLaboklab(30.57% 0.0149 -0.1491)
OKLCHoklch(30.57% 0.15 275.7)
XYZxyz(4.4082, 2.4629, 18.0087)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211B78 #72781B
analogous
#1B4478 #211B78 #501B78
triadic
#211B78 #78211B #1B7821
tetradic
#211B78 #781B44 #72781B #1B7850
square
#211B78 #781B44 #72781B #1B7850
split-complementary
#211B78 #78501B #44781B
monochromatic
#070619 #131046 #211B78 #2F26AA #443BD3

Accessibility & contrast

On white

14.07
#211B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#211B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211B78
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211B78#FFFFFF#000000##FFFFFF
##211B781.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211b78;
/* rgb */ color: rgb(33, 27, 120);
/* oklch */ color: oklch(30.6% 0.150 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b59a0',
    500: '#211b78',
    950: '#000000',
  },
}
SCSS
$custom: #211b78;
$custom-light: #6b59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211b78",
  "rgb": {
    "r": 33,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 243.871,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30569,
    "c": 0.14989,
    "h": 275.7
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#211B78
secondary
#A5AC43
accent
#E641DC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211B78

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

Preview Lab → · Contrast checker → · Palette generator →

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