#221568#221568

#221568 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.135 H 280.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#221568
RGBrgb(34, 21, 104)
HSLhsl(249, 66%, 25%)
HSVhsv(249, 80%, 41%)
CMYKcmyk(67.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(14.82, 32.32, -46.03)
CIE-LCHlch(14.82, 56.24, 305.07°)
OKLaboklab(27.99% 0.0241 -0.1329)
OKLCHoklch(27.99% 0.135 280.3)
XYZxyz(3.4258, 1.8756, 13.2755)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221568 #5B6815
analogous
#153168 #221568 #4C1568
triadic
#221568 #682215 #156822
tetradic
#221568 #681531 #5B6815 #15684C
square
#221568 #681531 #5B6815 #15684C
split-complementary
#221568 #684C15 #316815
monochromatic
#080519 #110B35 #221568 #331F9B #432ACE

Accessibility & contrast

On white

15.27
#221568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#221568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221568
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221568#FFFFFF#000000##FFFFFF
##2215681.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221568;
/* rgb */ color: rgb(34, 21, 104);
/* oklch */ color: oklch(28.0% 0.135 280.3);
Tailwind
colors: {
  custom: {
    50: '#685494',
    500: '#221568',
    950: '#000000',
  },
}
SCSS
$custom: #221568;
$custom-light: #685494;
$custom-dark: #000000;
JSON
{
  "hex": "#221568",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 249.398,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27993,
    "c": 0.13502,
    "h": 280.3
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#221568
secondary
#8F9F3A
accent
#E93ECF
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221568

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

Preview Lab → · Contrast checker → · Palette generator →

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