#221470#221470

#221470 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.146 H 278.8°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#221470
RGBrgb(34, 20, 112)
HSLhsl(249, 70%, 26%)
HSVhsv(249, 82%, 44%)
CMYKcmyk(69.6%, 82.1%, 0%, 56.1%)
CIE-LABlab(15.54, 35.53, -50.08)
CIE-LCHlch(15.54, 61.40, 305.35°)
OKLaboklab(28.77% 0.0224 -0.1446)
OKLCHoklch(28.77% 0.146 278.8)
XYZxyz(3.8335, 2.0099, 15.5120)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221470 #627014
analogous
#143470 #221470 #501470
triadic
#221470 #702214 #147022
tetradic
#221470 #701434 #627014 #147050
square
#221470 #701434 #627014 #147050
split-complementary
#221470 #705014 #347014
monochromatic
#08051A #120B3C #221470 #321DA4 #4227D8

Accessibility & contrast

On white

14.98
#221470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221470
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221470#FFFFFF#000000##FFFFFF
##2214701.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221470;
/* rgb */ color: rgb(34, 20, 112);
/* oklch */ color: oklch(28.8% 0.146 278.8);
Tailwind
colors: {
  custom: {
    50: '#6a549a',
    500: '#221470',
    950: '#000000',
  },
}
SCSS
$custom: #221470;
$custom-light: #6a549a;
$custom-dark: #000000;
JSON
{
  "hex": "#221470",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 249.13,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.14636,
    "h": 278.8
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#221470
secondary
#96A639
accent
#ED3BD2
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221470

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

Preview Lab → · Contrast checker → · Palette generator →

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