#221666#221666

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

Color values

HEX#221666
RGBrgb(34, 22, 102)
HSLhsl(249, 65%, 24%)
HSVhsv(249, 78%, 40%)
CMYKcmyk(66.7%, 78.4%, 0%, 60%)
CIE-LABlab(14.81, 31.05, -44.74)
CIE-LCHlch(14.81, 54.46, 304.76°)
OKLaboklab(27.92% 0.0239 -0.1291)
OKLCHoklch(27.92% 0.131 280.5)
XYZxyz(3.3441, 1.8730, 12.7531)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221666 #5A6616
analogous
#163266 #221666 #4A1666
triadic
#221666 #662216 #166622
tetradic
#221666 #661632 #5A6616 #16664A
square
#221666 #661632 #5A6616 #16664A
split-complementary
#221666 #664A16 #326616
monochromatic
#080519 #110B34 #221666 #332198 #442CCB

Accessibility & contrast

On white

15.28
#221666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221666
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221666#FFFFFF#000000##FFFFFF
##2216661.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221666;
/* rgb */ color: rgb(34, 22, 102);
/* oklch */ color: oklch(27.9% 0.131 280.5);
Tailwind
colors: {
  custom: {
    50: '#675593',
    500: '#221666',
    950: '#000000',
  },
}
SCSS
$custom: #221666;
$custom-light: #675593;
$custom-dark: #000000;
JSON
{
  "hex": "#221666",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 249,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27916,
    "c": 0.13128,
    "h": 280.5
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#221666
secondary
#8E9D3B
accent
#E840CE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221666

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

Preview Lab → · Contrast checker → · Palette generator →

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