#211778#211778

#211778 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.154 H 276.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#211778
RGBrgb(33, 23, 120)
HSLhsl(246, 68%, 28%)
HSVhsv(246, 81%, 47%)
CMYKcmyk(72.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(16.95, 36.45, -52.92)
CIE-LCHlch(16.95, 64.26, 304.56°)
OKLaboklab(30.01% 0.017 -0.153)
OKLCHoklch(30.01% 0.154 276.4)
XYZxyz(4.3227, 2.2918, 17.9802)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211778 #6E7817
analogous
#173D78 #211778 #521778
triadic
#211778 #782117 #177821
tetradic
#211778 #78173D #6E7817 #177852
square
#211778 #78173D #6E7817 #177852
split-complementary
#211778 #785217 #3D7817
monochromatic
#07051A #130D45 #211778 #2F21AB #4332D8

Accessibility & contrast

On white

14.40
#211778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#211778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211778
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211778#FFFFFF#000000##FFFFFF
##2117781.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211778;
/* rgb */ color: rgb(33, 23, 120);
/* oklch */ color: oklch(30.0% 0.154 276.4);
Tailwind
colors: {
  custom: {
    50: '#6b57a0',
    500: '#211778',
    950: '#000000',
  },
}
SCSS
$custom: #211778;
$custom-light: #6b57a0;
$custom-dark: #000000;
JSON
{
  "hex": "#211778",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 246.186,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30006,
    "c": 0.15391,
    "h": 276.4
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#211778
secondary
#A2AD3E
accent
#EB3DD9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211778

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

Preview Lab → · Contrast checker → · Palette generator →

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