#221373#221373

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

Color values

HEX#221373
RGBrgb(34, 19, 115)
HSLhsl(249, 72%, 26%)
HSVhsv(249, 83%, 45%)
CMYKcmyk(70.4%, 83.5%, 0%, 54.9%)
CIE-LABlab(15.71, 37.02, -51.74)
CIE-LCHlch(15.71, 63.62, 305.59°)
OKLaboklab(28.99% 0.022 -0.1494)
OKLCHoklch(28.99% 0.151 278.4)
XYZxyz(3.9861, 2.0433, 16.4007)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221373 #647313
analogous
#133473 #221373 #521373
triadic
#221373 #732213 #137322
tetradic
#221373 #731334 #647313 #137352
square
#221373 #731334 #647313 #137352
split-complementary
#221373 #735213 #347313
monochromatic
#08041A #120A3E #221373 #321CA8 #4225DB

Accessibility & contrast

On white

14.91
#221373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221373
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221373#FFFFFF#000000##FFFFFF
##2213731.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221373;
/* rgb */ color: rgb(34, 19, 115);
/* oklch */ color: oklch(29.0% 0.151 278.4);
Tailwind
colors: {
  custom: {
    50: '#6b549c',
    500: '#221373',
    950: '#000000',
  },
}
SCSS
$custom: #221373;
$custom-light: #6b549c;
$custom-dark: #000000;
JSON
{
  "hex": "#221373",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 249.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.15106,
    "h": 278.4
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#221373
secondary
#98AA38
accent
#EE39D2
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #221373

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

Preview Lab → · Contrast checker → · Palette generator →

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