#211773#211773

#211773 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.147 H 277.2°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#211773
RGBrgb(33, 23, 115)
HSLhsl(247, 67%, 27%)
HSVhsv(247, 80%, 45%)
CMYKcmyk(71.3%, 80%, 0%, 54.9%)
CIE-LABlab(16.37, 34.77, -50.65)
CIE-LCHlch(16.37, 61.43, 304.47°)
OKLaboklab(29.43% 0.0184 -0.1463)
OKLCHoklch(29.43% 0.148 277.2)
XYZxyz(4.0271, 2.1736, 16.4236)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211773 #697317
analogous
#173B73 #211773 #4F1773
triadic
#211773 #732117 #177321
tetradic
#211773 #73173B #697317 #17734F
square
#211773 #73173B #697317 #17734F
split-complementary
#211773 #734F17 #3B7317
monochromatic
#07051A #120D40 #211773 #3021A6 #412FD5

Accessibility & contrast

On white

14.64
#211773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211773
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211773#FFFFFF#000000##FFFFFF
##2117731.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #211773;
/* rgb */ color: rgb(33, 23, 115);
/* oklch */ color: oklch(29.4% 0.147 277.2);
Tailwind
colors: {
  custom: {
    50: '#6a569c',
    500: '#211773',
    950: '#000000',
  },
}
SCSS
$custom: #211773;
$custom-light: #6a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#211773",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 246.522,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29431,
    "c": 0.1475,
    "h": 277.2
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#211773
secondary
#9DA93D
accent
#EA3ED7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211773

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

Preview Lab → · Contrast checker → · Palette generator →

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