#211771#211771

#211771 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.145 H 277.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#211771
RGBrgb(33, 23, 113)
HSLhsl(247, 66%, 27%)
HSVhsv(247, 80%, 44%)
CMYKcmyk(70.8%, 79.6%, 0%, 55.7%)
CIE-LABlab(16.15, 34.10, -49.73)
CIE-LCHlch(16.15, 60.29, 304.44°)
OKLaboklab(29.2% 0.0189 -0.1437)
OKLCHoklch(29.2% 0.145 277.5)
XYZxyz(3.9133, 2.1280, 15.8241)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211771 #677117
analogous
#173A71 #211771 #4E1771
triadic
#211771 #712117 #177121
tetradic
#211771 #71173A #677117 #17714E
square
#211771 #71173A #677117 #17714E
split-complementary
#211771 #714E17 #3A7117
monochromatic
#070519 #120D3E #211771 #3021A4 #402ED4

Accessibility & contrast

On white

14.73
#211771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211771
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211771#FFFFFF#000000##FFFFFF
##2117711.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211771;
/* rgb */ color: rgb(33, 23, 113);
/* oklch */ color: oklch(29.2% 0.145 277.5);
Tailwind
colors: {
  custom: {
    50: '#69569b',
    500: '#211771',
    950: '#000000',
  },
}
SCSS
$custom: #211771;
$custom-light: #69569b;
$custom-dark: #000000;
JSON
{
  "hex": "#211771",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 246.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29204,
    "c": 0.14492,
    "h": 277.5
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#211771
secondary
#9BA73D
accent
#E93FD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211771

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

Preview Lab → · Contrast checker → · Palette generator →

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