#221566#221566

#221566 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.132 H 280.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#221566
RGBrgb(34, 21, 102)
HSLhsl(250, 66%, 24%)
HSVhsv(250, 79%, 40%)
CMYKcmyk(66.7%, 79.4%, 0%, 60%)
CIE-LABlab(14.60, 31.64, -45.08)
CIE-LCHlch(14.60, 55.08, 305.06°)
OKLaboklab(27.77% 0.0246 -0.1301)
OKLCHoklch(27.77% 0.132 280.7)
XYZxyz(3.3254, 1.8355, 12.7468)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221566 #596615
analogous
#153166 #221566 #4B1566
triadic
#221566 #662215 #156622
tetradic
#221566 #661531 #596615 #15664B
square
#221566 #661531 #596615 #15664B
split-complementary
#221566 #664B15 #316615
monochromatic
#080519 #110B33 #221566 #331F99 #442ACC

Accessibility & contrast

On white

15.36
#221566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221566
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221566#FFFFFF#000000##FFFFFF
##2215661.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221566;
/* rgb */ color: rgb(34, 21, 102);
/* oklch */ color: oklch(27.8% 0.132 280.7);
Tailwind
colors: {
  custom: {
    50: '#675493',
    500: '#221566',
    950: '#000000',
  },
}
SCSS
$custom: #221566;
$custom-light: #675493;
$custom-dark: #000000;
JSON
{
  "hex": "#221566",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 249.63,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2777,
    "c": 0.13239,
    "h": 280.7
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #221566

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

Preview Lab → · Contrast checker → · Palette generator →

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