#211678#211678

#211678 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.155 H 276.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#211678
RGBrgb(33, 22, 120)
HSLhsl(247, 69%, 28%)
HSVhsv(247, 82%, 47%)
CMYKcmyk(72.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.76, 36.99, -53.23)
CIE-LCHlch(16.76, 64.82, 304.80°)
OKLaboklab(29.88% 0.0175 -0.1538)
OKLCHoklch(29.88% 0.155 276.5)
XYZxyz(4.3032, 2.2528, 17.9737)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211678 #6D7816
analogous
#163C78 #211678 #521678
triadic
#211678 #782116 #167821
tetradic
#211678 #78163C #6D7816 #167852
square
#211678 #78163C #6D7816 #167852
split-complementary
#211678 #785216 #3C7816
monochromatic
#07051A #130D44 #211678 #2F1FAC #422FD9

Accessibility & contrast

On white

14.48
#211678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#211678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211678
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211678#FFFFFF#000000##FFFFFF
##2116781.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211678;
/* rgb */ color: rgb(33, 22, 120);
/* oklch */ color: oklch(29.9% 0.155 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b56a0',
    500: '#211678',
    950: '#000000',
  },
}
SCSS
$custom: #211678;
$custom-light: #6b56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211678",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 246.735,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29875,
    "c": 0.15485,
    "h": 276.5
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#211678
secondary
#A1AD3C
accent
#EC3CD8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211678

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

Preview Lab → · Contrast checker → · Palette generator →

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