#221665#221665

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

Color values

HEX#221665
RGBrgb(34, 22, 101)
HSLhsl(249, 64%, 24%)
HSVhsv(249, 78%, 40%)
CMYKcmyk(66.3%, 78.2%, 0%, 60.4%)
CIE-LABlab(14.70, 30.71, -44.26)
CIE-LCHlch(14.70, 53.87, 304.76°)
OKLaboklab(27.81% 0.0241 -0.1277)
OKLCHoklch(27.81% 0.13 280.7)
XYZxyz(3.2948, 1.8532, 12.4935)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221665 #596516
analogous
#163265 #221665 #4A1665
triadic
#221665 #652216 #166522
tetradic
#221665 #651632 #596516 #16654A
square
#221665 #651632 #596516 #16654A
split-complementary
#221665 #654A16 #326516
monochromatic
#080519 #110B33 #221665 #332197 #442CCA

Accessibility & contrast

On white

15.32
#221665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221665
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221665#FFFFFF#000000##FFFFFF
##2216651.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221665;
/* rgb */ color: rgb(34, 22, 101);
/* oklch */ color: oklch(27.8% 0.130 280.7);
Tailwind
colors: {
  custom: {
    50: '#675592',
    500: '#221665',
    950: '#000000',
  },
}
SCSS
$custom: #221665;
$custom-light: #675592;
$custom-dark: #000000;
JSON
{
  "hex": "#221665",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 249.114,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27807,
    "c": 0.12994,
    "h": 280.7
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#221665
secondary
#8D9C3B
accent
#E741CE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221665

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

Preview Lab → · Contrast checker → · Palette generator →

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