#211477#211477

#211477 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.155 H 276.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#211477
RGBrgb(33, 20, 119)
HSLhsl(248, 71%, 27%)
HSVhsv(248, 83%, 47%)
CMYKcmyk(72.3%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.28, 37.71, -53.38)
CIE-LCHlch(16.28, 65.35, 305.24°)
OKLaboklab(29.51% 0.0188 -0.1543)
OKLCHoklch(29.51% 0.155 276.9)
XYZxyz(4.2060, 2.1552, 17.6435)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211477 #6A7714
analogous
#143877 #211477 #531477
triadic
#211477 #772114 #147721
tetradic
#211477 #771438 #6A7714 #147753
square
#211477 #771438 #6A7714 #147753
split-complementary
#211477 #775314 #387714
monochromatic
#07041A #120B43 #211477 #301DAB #412ADB

Accessibility & contrast

On white

14.67
#211477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#211477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211477
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211477#FFFFFF#000000##FFFFFF
##2114771.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211477;
/* rgb */ color: rgb(33, 20, 119);
/* oklch */ color: oklch(29.5% 0.155 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b559f',
    500: '#211477',
    950: '#000000',
  },
}
SCSS
$custom: #211477;
$custom-light: #6b559f;
$custom-dark: #000000;
JSON
{
  "hex": "#211477",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 247.879,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.1554,
    "h": 276.9
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#211477
secondary
#9EAD3A
accent
#EE3AD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #211477

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

Preview Lab → · Contrast checker → · Palette generator →

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