#221577#221577

#221577 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.154 H 277.4°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#221577
RGBrgb(34, 21, 119)
HSLhsl(248, 70%, 27%)
HSVhsv(248, 82%, 47%)
CMYKcmyk(71.4%, 82.4%, 0%, 53.3%)
CIE-LABlab(16.54, 37.29, -52.94)
CIE-LCHlch(16.54, 64.76, 305.16°)
OKLaboklab(29.71% 0.0198 -0.153)
OKLCHoklch(29.71% 0.154 277.4)
XYZxyz(4.2565, 2.2079, 17.6510)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221577 #6A7715
analogous
#153977 #221577 #531577
triadic
#221577 #772215 #157722
tetradic
#221577 #771539 #6A7715 #157753
square
#221577 #771539 #6A7715 #157753
split-complementary
#221577 #775315 #397715
monochromatic
#07051A #130C43 #221577 #311EAB #442DDA

Accessibility & contrast

On white

14.57
#221577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221577
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221577#FFFFFF#000000##FFFFFF
##2215771.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221577;
/* rgb */ color: rgb(34, 21, 119);
/* oklch */ color: oklch(29.7% 0.154 277.4);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#221577',
    950: '#000000',
  },
}
SCSS
$custom: #221577;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#221577",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 247.959,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.15426,
    "h": 277.4
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#221577
secondary
#9EAD3B
accent
#ED3BD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221577

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

Preview Lab → · Contrast checker → · Palette generator →

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