#211977#211977

#211977 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.151 H 276.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#211977
RGBrgb(33, 25, 119)
HSLhsl(245, 65%, 28%)
HSVhsv(245, 79%, 47%)
CMYKcmyk(72.3%, 79%, 0%, 53.3%)
CIE-LABlab(17.23, 34.99, -51.82)
CIE-LCHlch(17.23, 62.52, 304.03°)
OKLaboklab(30.17% 0.0162 -0.1498)
OKLCHoklch(30.17% 0.151 276.2)
XYZxyz(4.3035, 2.3501, 17.6760)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211977 #6F7719
analogous
#194077 #211977 #501977
triadic
#211977 #772119 #197721
tetradic
#211977 #771940 #6F7719 #197750
square
#211977 #771940 #6F7719 #197750
split-complementary
#211977 #775019 #407719
monochromatic
#070519 #130E44 #211977 #2F24AA #4336D5

Accessibility & contrast

On white

14.28
#211977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#211977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211977
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211977#FFFFFF#000000##FFFFFF
##2119771.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #211977;
/* rgb */ color: rgb(33, 25, 119);
/* oklch */ color: oklch(30.2% 0.151 276.2);
Tailwind
colors: {
  custom: {
    50: '#6b589f',
    500: '#211977',
    950: '#000000',
  },
}
SCSS
$custom: #211977;
$custom-light: #6b589f;
$custom-dark: #000000;
JSON
{
  "hex": "#211977",
  "rgb": {
    "r": 33,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 245.106,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30167,
    "c": 0.15066,
    "h": 276.2
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#211977
secondary
#A3AC40
accent
#E840DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211977

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

Preview Lab → · Contrast checker → · Palette generator →

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