#221576#221576

#221576 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.153 H 277.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#221576
RGBrgb(34, 21, 118)
HSLhsl(248, 70%, 27%)
HSVhsv(248, 82%, 46%)
CMYKcmyk(71.2%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.42, 36.96, -52.50)
CIE-LCHlch(16.42, 64.20, 305.15°)
OKLaboklab(29.59% 0.0201 -0.1517)
OKLCHoklch(29.59% 0.153 277.5)
XYZxyz(4.1968, 2.1840, 17.3364)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221576 #697615
analogous
#153976 #221576 #521576
triadic
#221576 #762215 #157622
tetradic
#221576 #761539 #697615 #157652
square
#221576 #761539 #697615 #157652
split-complementary
#221576 #765215 #397615
monochromatic
#07051A #130C42 #221576 #311EAA #432CD9

Accessibility & contrast

On white

14.62
#221576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221576
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221576#FFFFFF#000000##FFFFFF
##2215761.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221576;
/* rgb */ color: rgb(34, 21, 118);
/* oklch */ color: oklch(29.6% 0.153 277.5);
Tailwind
colors: {
  custom: {
    50: '#6b559f',
    500: '#221576',
    950: '#000000',
  },
}
SCSS
$custom: #221576;
$custom-light: #6b559f;
$custom-dark: #000000;
JSON
{
  "hex": "#221576",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 248.041,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29592,
    "c": 0.15301,
    "h": 277.5
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221576

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

Preview Lab → · Contrast checker → · Palette generator →

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