#221564#221564

#221564 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.130 H 281.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#221564
RGBrgb(34, 21, 100)
HSLhsl(250, 65%, 24%)
HSVhsv(250, 79%, 39%)
CMYKcmyk(66%, 79%, 0%, 60.8%)
CIE-LABlab(14.38, 30.96, -44.12)
CIE-LCHlch(14.38, 53.90, 305.06°)
OKLaboklab(27.55% 0.0251 -0.1273)
OKLCHoklch(27.55% 0.13 281.2)
XYZxyz(3.2274, 1.7963, 12.2308)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221564 #576415
analogous
#152F64 #221564 #491564
triadic
#221564 #642215 #156422
tetradic
#221564 #64152F #576415 #156449
square
#221564 #64152F #576415 #156449
split-complementary
#221564 #644915 #2F6415
monochromatic
#090519 #110A31 #221564 #332097 #442AC9

Accessibility & contrast

On white

15.45
#221564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#221564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221564
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221564#FFFFFF#000000##FFFFFF
##2215641.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #221564;
/* rgb */ color: rgb(34, 21, 100);
/* oklch */ color: oklch(27.6% 0.130 281.2);
Tailwind
colors: {
  custom: {
    50: '#675491',
    500: '#221564',
    950: '#000000',
  },
}
SCSS
$custom: #221564;
$custom-light: #675491;
$custom-dark: #000000;
JSON
{
  "hex": "#221564",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 249.873,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2755,
    "c": 0.12973,
    "h": 281.2
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#221564
secondary
#8B9B3A
accent
#E840CC
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221564

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

Preview Lab → · Contrast checker → · Palette generator →

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