#221573#221573

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

Color values

HEX#221573
RGBrgb(34, 21, 115)
HSLhsl(248, 69%, 27%)
HSVhsv(248, 82%, 45%)
CMYKcmyk(70.4%, 81.7%, 0%, 54.9%)
CIE-LABlab(16.07, 35.98, -51.14)
CIE-LCHlch(16.07, 62.53, 305.13°)
OKLaboklab(29.24% 0.021 -0.1477)
OKLCHoklch(29.24% 0.149 278.1)
XYZxyz(4.0214, 2.1139, 16.4124)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221573 #667315
analogous
#153773 #221573 #511573
triadic
#221573 #732215 #157322
tetradic
#221573 #731537 #667315 #157351
square
#221573 #731537 #667315 #157351
split-complementary
#221573 #735115 #377315
monochromatic
#08051A #130C3F #221573 #311EA7 #422AD8

Accessibility & contrast

On white

14.76
#221573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221573
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221573#FFFFFF#000000##FFFFFF
##2215731.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221573;
/* rgb */ color: rgb(34, 21, 115);
/* oklch */ color: oklch(29.2% 0.149 278.1);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#221573',
    950: '#000000',
  },
}
SCSS
$custom: #221573;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#221573",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 248.298,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29243,
    "c": 0.14921,
    "h": 278.1
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#221573
secondary
#9AA93B
accent
#EC3CD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #221573

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

Preview Lab → · Contrast checker → · Palette generator →

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