#221471#221471

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

Color values

HEX#221471
RGBrgb(34, 20, 113)
HSLhsl(249, 70%, 26%)
HSVhsv(249, 82%, 44%)
CMYKcmyk(69.9%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.66, 35.85, -50.53)
CIE-LCHlch(15.66, 61.96, 305.36°)
OKLaboklab(28.88% 0.0221 -0.146)
OKLCHoklch(28.88% 0.148 278.6)
XYZxyz(3.8895, 2.0323, 15.8069)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221471 #637114
analogous
#143471 #221471 #501471
triadic
#221471 #712214 #147122
tetradic
#221471 #711434 #637114 #147150
square
#221471 #711434 #637114 #147150
split-complementary
#221471 #715014 #347114
monochromatic
#08051A #120B3D #221471 #321DA5 #4127D9

Accessibility & contrast

On white

14.93
#221471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221471
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221471#FFFFFF#000000##FFFFFF
##2214711.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00236F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221471;
/* rgb */ color: rgb(34, 20, 113);
/* oklch */ color: oklch(28.9% 0.148 278.6);
Tailwind
colors: {
  custom: {
    50: '#6a549b',
    500: '#221471',
    950: '#000000',
  },
}
SCSS
$custom: #221471;
$custom-light: #6a549b;
$custom-dark: #000000;
JSON
{
  "hex": "#221471",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 249.032,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28883,
    "c": 0.14763,
    "h": 278.6
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#221471
secondary
#97A739
accent
#ED3BD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221471

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

Preview Lab → · Contrast checker → · Palette generator →

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