#221664#221664

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

Color values

HEX#221664
RGBrgb(34, 22, 100)
HSLhsl(249, 64%, 24%)
HSVhsv(249, 78%, 39%)
CMYKcmyk(66%, 78%, 0%, 60.8%)
CIE-LABlab(14.59, 30.37, -43.78)
CIE-LCHlch(14.59, 53.28, 304.75°)
OKLaboklab(27.7% 0.0244 -0.1263)
OKLCHoklch(27.7% 0.129 280.9)
XYZxyz(3.2461, 1.8338, 12.2370)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221664 #586416
analogous
#163164 #221664 #491664
triadic
#221664 #642216 #166422
tetradic
#221664 #641631 #586416 #166449
square
#221664 #641631 #586416 #166449
split-complementary
#221664 #644916 #316416
monochromatic
#090619 #110B32 #221664 #332196 #442CC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##221664#FFFFFF#000000##FFFFFF
##2216641.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)
#002866
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221664;
/* rgb */ color: rgb(34, 22, 100);
/* oklch */ color: oklch(27.7% 0.129 280.9);
Tailwind
colors: {
  custom: {
    50: '#675591',
    500: '#221664',
    950: '#000000',
  },
}
SCSS
$custom: #221664;
$custom-light: #675591;
$custom-dark: #000000;
JSON
{
  "hex": "#221664",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 249.231,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27698,
    "c": 0.1286,
    "h": 280.9
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#221664
secondary
#8C9B3B
accent
#E741CD
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221664

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

Preview Lab → · Contrast checker → · Palette generator →

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