#221567#221567

#221567 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.134 H 280.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#221567
RGBrgb(34, 21, 103)
HSLhsl(250, 66%, 24%)
HSVhsv(250, 80%, 40%)
CMYKcmyk(67%, 79.6%, 0%, 59.6%)
CIE-LABlab(14.71, 31.98, -45.56)
CIE-LCHlch(14.71, 55.66, 305.07°)
OKLaboklab(27.88% 0.0243 -0.1315)
OKLCHoklch(27.88% 0.134 280.5)
XYZxyz(3.3753, 1.8554, 13.0096)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221567 #5A6715
analogous
#153167 #221567 #4B1567
triadic
#221567 #672215 #156722
tetradic
#221567 #671531 #5A6715 #15674B
square
#221567 #671531 #5A6715 #15674B
split-complementary
#221567 #674B15 #316715
monochromatic
#080519 #110B34 #221567 #331F9A #442ACD

Accessibility & contrast

On white

15.32
#221567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#221567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221567
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221567#FFFFFF#000000##FFFFFF
##2215671.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221567;
/* rgb */ color: rgb(34, 21, 103);
/* oklch */ color: oklch(27.9% 0.134 280.5);
Tailwind
colors: {
  custom: {
    50: '#685493',
    500: '#221567',
    950: '#000000',
  },
}
SCSS
$custom: #221567;
$custom-light: #685493;
$custom-dark: #000000;
JSON
{
  "hex": "#221567",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 249.512,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27881,
    "c": 0.1337,
    "h": 280.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#221567
secondary
#8E9E3A
accent
#E93FCE
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221567

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

Preview Lab → · Contrast checker → · Palette generator →

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