#211772#211772

#211772 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.146 H 277.3°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#211772
RGBrgb(33, 23, 114)
HSLhsl(247, 66%, 27%)
HSVhsv(247, 80%, 45%)
CMYKcmyk(71.1%, 79.8%, 0%, 55.3%)
CIE-LABlab(16.26, 34.43, -50.19)
CIE-LCHlch(16.26, 60.87, 304.45°)
OKLaboklab(29.32% 0.0186 -0.145)
OKLCHoklch(29.32% 0.146 277.3)
XYZxyz(3.9699, 2.1507, 16.1222)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211772 #687217
analogous
#173B72 #211772 #4F1772
triadic
#211772 #722117 #177221
tetradic
#211772 #72173B #687217 #17724F
square
#211772 #72173B #687217 #17724F
split-complementary
#211772 #724F17 #3B7217
monochromatic
#070519 #120D3F #211772 #3021A5 #412ED5

Accessibility & contrast

On white

14.68
#211772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211772
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211772#FFFFFF#000000##FFFFFF
##2117721.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #211772;
/* rgb */ color: rgb(33, 23, 114);
/* oklch */ color: oklch(29.3% 0.146 277.3);
Tailwind
colors: {
  custom: {
    50: '#6a569c',
    500: '#211772',
    950: '#000000',
  },
}
SCSS
$custom: #211772;
$custom-light: #6a569c;
$custom-dark: #000000;
JSON
{
  "hex": "#211772",
  "rgb": {
    "r": 33,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 246.593,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29317,
    "c": 0.14621,
    "h": 277.3
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#211772
secondary
#9CA83D
accent
#E93ED7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211772

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

Preview Lab → · Contrast checker → · Palette generator →

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