#211979#211979

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

Color values

HEX#211979
RGBrgb(33, 25, 121)
HSLhsl(245, 66%, 29%)
HSVhsv(245, 79%, 47%)
CMYKcmyk(72.7%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.45, 35.67, -52.72)
CIE-LCHlch(17.45, 63.66, 304.08°)
OKLaboklab(30.39% 0.0157 -0.1524)
OKLCHoklch(30.39% 0.153 275.9)
XYZxyz(4.4249, 2.3987, 18.3152)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211979 #717919
analogous
#194179 #211979 #511979
triadic
#211979 #792119 #197921
tetradic
#211979 #791941 #717919 #197951
square
#211979 #791941 #717919 #197951
split-complementary
#211979 #795119 #417919
monochromatic
#070519 #130F46 #211979 #2F23AC #4437D6

Accessibility & contrast

On white

14.19
#211979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#211979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211979
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211979#FFFFFF#000000##FFFFFF
##2119791.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211979;
/* rgb */ color: rgb(33, 25, 121);
/* oklch */ color: oklch(30.4% 0.153 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b58a1',
    500: '#211979',
    950: '#000000',
  },
}
SCSS
$custom: #211979;
$custom-light: #6b58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#211979",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 245,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30394,
    "c": 0.15323,
    "h": 275.9
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#211979
secondary
#A5AE40
accent
#E93FDB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #211979

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

Preview Lab → · Contrast checker → · Palette generator →

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