#211877#211877

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

Color values

HEX#211877
RGBrgb(33, 24, 119)
HSLhsl(246, 66%, 28%)
HSVhsv(246, 80%, 47%)
CMYKcmyk(72.3%, 79.8%, 0%, 53.3%)
CIE-LABlab(17.03, 35.56, -52.14)
CIE-LCHlch(17.03, 63.12, 304.29°)
OKLaboklab(30.03% 0.0168 -0.1507)
OKLCHoklch(30.03% 0.152 276.4)
XYZxyz(4.2825, 2.3081, 17.6690)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211877 #6E7718
analogous
#183E77 #211877 #501877
triadic
#211877 #772118 #187721
tetradic
#211877 #77183E #6E7718 #187750
square
#211877 #77183E #6E7718 #187750
split-complementary
#211877 #775018 #3E7718
monochromatic
#070519 #130E44 #211877 #2F22AA #4333D6

Accessibility & contrast

On white

14.37
#211877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211877
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211877#FFFFFF#000000##FFFFFF
##2118771.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211877;
/* rgb */ color: rgb(33, 24, 119);
/* oklch */ color: oklch(30.0% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#6b579f',
    500: '#211877',
    950: '#000000',
  },
}
SCSS
$custom: #211877;
$custom-light: #6b579f;
$custom-dark: #000000;
JSON
{
  "hex": "#211877",
  "rgb": {
    "r": 33,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 245.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30027,
    "c": 0.15165,
    "h": 276.4
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#211877
secondary
#A2AC3F
accent
#E93ED9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211877

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

Preview Lab → · Contrast checker → · Palette generator →

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