#221663#221663

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

Color values

HEX#221663
RGBrgb(34, 22, 99)
HSLhsl(249, 64%, 24%)
HSVhsv(249, 78%, 39%)
CMYKcmyk(65.7%, 77.8%, 0%, 61.2%)
CIE-LABlab(14.48, 30.03, -43.29)
CIE-LCHlch(14.48, 52.69, 304.75°)
OKLaboklab(27.59% 0.0246 -0.1248)
OKLCHoklch(27.59% 0.127 281.2)
XYZxyz(3.1980, 1.8145, 11.9837)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221663 #576316
analogous
#163063 #221663 #481663
triadic
#221663 #632216 #166322
tetradic
#221663 #631630 #576316 #166348
square
#221663 #631630 #576316 #166348
split-complementary
#221663 #634816 #306316
monochromatic
#090619 #110B31 #221663 #332195 #442CC7

Accessibility & contrast

On white

15.41
#221663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221663
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221663#FFFFFF#000000##FFFFFF
##2216631.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221663;
/* rgb */ color: rgb(34, 22, 99);
/* oklch */ color: oklch(27.6% 0.127 281.2);
Tailwind
colors: {
  custom: {
    50: '#675590',
    500: '#221663',
    950: '#000000',
  },
}
SCSS
$custom: #221663;
$custom-light: #675590;
$custom-dark: #000000;
JSON
{
  "hex": "#221663",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 249.351,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27589,
    "c": 0.12726,
    "h": 281.2
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#221663
secondary
#8B9A3B
accent
#E741CD
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #221663

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

Preview Lab → · Contrast checker → · Palette generator →

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