#211779#211779

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

Color values

HEX#211779
RGBrgb(33, 23, 121)
HSLhsl(246, 68%, 28%)
HSVhsv(246, 81%, 47%)
CMYKcmyk(72.7%, 81%, 0%, 52.5%)
CIE-LABlab(17.07, 36.78, -53.36)
CIE-LCHlch(17.07, 64.81, 304.58°)
OKLaboklab(30.12% 0.0168 -0.1543)
OKLCHoklch(30.12% 0.155 276.2)
XYZxyz(4.3837, 2.3162, 18.3015)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211779 #6F7917
analogous
#173E79 #211779 #521779
triadic
#211779 #792117 #177921
tetradic
#211779 #79173E #6F7917 #177952
square
#211779 #79173E #6F7917 #177952
split-complementary
#211779 #795217 #3E7917
monochromatic
#07051A #130D46 #211779 #2F21AC #4332D8

Accessibility & contrast

On white

14.35
#211779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211779
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211779#FFFFFF#000000##FFFFFF
##2117791.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211779;
/* rgb */ color: rgb(33, 23, 121);
/* oklch */ color: oklch(30.1% 0.155 276.2);
Tailwind
colors: {
  custom: {
    50: '#6b57a1',
    500: '#211779',
    950: '#000000',
  },
}
SCSS
$custom: #211779;
$custom-light: #6b57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#211779",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 246.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.15517,
    "h": 276.2
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #211779

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

Preview Lab → · Contrast checker → · Palette generator →

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