#221474#221474

#221474 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.151 H 278.1°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#221474
RGBrgb(34, 20, 116)
HSLhsl(249, 71%, 27%)
HSVhsv(249, 83%, 45%)
CMYKcmyk(70.7%, 82.8%, 0%, 54.5%)
CIE-LABlab(16.01, 36.83, -51.89)
CIE-LCHlch(16.01, 63.64, 305.37°)
OKLaboklab(29.23% 0.0212 -0.1499)
OKLCHoklch(29.23% 0.151 278.1)
XYZxyz(4.0612, 2.1010, 16.7111)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221474 #667414
analogous
#143674 #221474 #521474
triadic
#221474 #742214 #147422
tetradic
#221474 #741436 #667414 #147452
square
#221474 #741436 #667414 #147452
split-complementary
#221474 #745214 #367414
monochromatic
#08051A #130B40 #221474 #311DA8 #4228DA

Accessibility & contrast

On white

14.79
#221474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#221474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221474
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221474#FFFFFF#000000##FFFFFF
##2214741.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221474;
/* rgb */ color: rgb(34, 20, 116);
/* oklch */ color: oklch(29.2% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b559d',
    500: '#221474',
    950: '#000000',
  },
}
SCSS
$custom: #221474;
$custom-light: #6b559d;
$custom-dark: #000000;
JSON
{
  "hex": "#221474",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 248.75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29233,
    "c": 0.1514,
    "h": 278.1
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#221474
secondary
#9AAA3A
accent
#ED3AD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221474

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

Preview Lab → · Contrast checker → · Palette generator →

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