#221472#221472

#221472 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.149 H 278.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#221472
RGBrgb(34, 20, 114)
HSLhsl(249, 70%, 26%)
HSVhsv(249, 82%, 45%)
CMYKcmyk(70.2%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.77, 36.18, -50.99)
CIE-LCHlch(15.77, 62.52, 305.36°)
OKLaboklab(29% 0.0218 -0.1473)
OKLCHoklch(29% 0.149 278.4)
XYZxyz(3.9461, 2.0550, 16.1050)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221472 #647214
analogous
#143572 #221472 #511472
triadic
#221472 #722214 #147222
tetradic
#221472 #721435 #647214 #147251
square
#221472 #721435 #647214 #147251
split-complementary
#221472 #725114 #357214
monochromatic
#08051A #120B3E #221472 #321DA6 #4227D9

Accessibility & contrast

On white

14.88
#221472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221472
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221472#FFFFFF#000000##FFFFFF
##2214721.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221472;
/* rgb */ color: rgb(34, 20, 114);
/* oklch */ color: oklch(29.0% 0.149 278.4);
Tailwind
colors: {
  custom: {
    50: '#6a549c',
    500: '#221472',
    950: '#000000',
  },
}
SCSS
$custom: #221472;
$custom-light: #6a549c;
$custom-dark: #000000;
JSON
{
  "hex": "#221472",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 248.936,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28999,
    "c": 0.14889,
    "h": 278.4
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#221472
secondary
#98A839
accent
#ED3BD2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221472

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

Preview Lab → · Contrast checker → · Palette generator →

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