#211472#211472

#211472 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.149 H 277.8°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#211472
RGBrgb(33, 20, 114)
HSLhsl(248, 70%, 26%)
HSVhsv(248, 82%, 45%)
CMYKcmyk(71.1%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.69, 36.08, -51.14)
CIE-LCHlch(15.69, 62.58, 305.20°)
OKLaboklab(28.92% 0.0203 -0.1477)
OKLCHoklch(28.92% 0.149 277.8)
XYZxyz(3.9136, 2.0382, 16.1035)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211472 #657214
analogous
#143672 #211472 #501472
triadic
#211472 #722114 #147221
tetradic
#211472 #721436 #657214 #147250
square
#211472 #721436 #657214 #147250
split-complementary
#211472 #725014 #367214
monochromatic
#08051A #120B3E #211472 #301DA6 #4027D9

Accessibility & contrast

On white

14.92
#211472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#211472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211472
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211472#FFFFFF#000000##FFFFFF
##2114721.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #211472;
/* rgb */ color: rgb(33, 20, 114);
/* oklch */ color: oklch(28.9% 0.149 277.8);
Tailwind
colors: {
  custom: {
    50: '#6a549c',
    500: '#211472',
    950: '#000000',
  },
}
SCSS
$custom: #211472;
$custom-light: #6a549c;
$custom-dark: #000000;
JSON
{
  "hex": "#211472",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 248.298,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28917,
    "c": 0.14912,
    "h": 277.8
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#211472
secondary
#99A839
accent
#ED3BD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #211472

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

Preview Lab → · Contrast checker → · Palette generator →

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