#211777#211777

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

Color values

HEX#211777
RGBrgb(33, 23, 119)
HSLhsl(246, 68%, 28%)
HSVhsv(246, 81%, 47%)
CMYKcmyk(72.3%, 80.7%, 0%, 53.3%)
CIE-LABlab(16.83, 36.12, -52.47)
CIE-LCHlch(16.83, 63.70, 304.54°)
OKLaboklab(29.89% 0.0173 -0.1516)
OKLCHoklch(29.89% 0.153 276.5)
XYZxyz(4.2623, 2.2676, 17.6623)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211777 #6D7717
analogous
#173D77 #211777 #511777
triadic
#211777 #772117 #177721
tetradic
#211777 #77173D #6D7717 #177751
square
#211777 #77173D #6D7717 #177751
split-complementary
#211777 #775117 #3D7717
monochromatic
#07051A #130D44 #211777 #2F21AA #4231D7

Accessibility & contrast

On white

14.45
#211777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211777
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211777#FFFFFF#000000##FFFFFF
##2117771.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211777;
/* rgb */ color: rgb(33, 23, 119);
/* oklch */ color: oklch(29.9% 0.153 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b569f',
    500: '#211777',
    950: '#000000',
  },
}
SCSS
$custom: #211777;
$custom-light: #6b569f;
$custom-dark: #000000;
JSON
{
  "hex": "#211777",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 246.25,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.15263,
    "h": 276.5
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#211777
secondary
#A1AC3E
accent
#EA3DD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211777

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

Preview Lab → · Contrast checker → · Palette generator →

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