#16216D#16216D

#16216D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.131 H 269.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#16216D
RGBrgb(22, 33, 109)
HSLhsl(232, 66%, 26%)
HSVhsv(232, 80%, 43%)
CMYKcmyk(79.8%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.28, 24.98, -45.28)
CIE-LCHlch(17.28, 51.72, 298.89°)
OKLaboklab(29.69% -0.0007 -0.131)
OKLCHoklch(29.69% 0.131 269.7)
XYZxyz(3.6341, 2.3620, 14.7294)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16216D #6D6216
analogous
#164C6D #16216D #36166D
triadic
#16216D #6D1621 #216D16
tetradic
#16216D #6D164C #6D6216 #166D36
square
#16216D #6D164C #6D6216 #166D36
split-complementary
#16216D #6D3616 #4C6D16
monochromatic
#050819 #0C123A #16216D #2030A0 #2B40D3

Accessibility & contrast

On white

14.26
#16216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#16216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16216D
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16216D#FFFFFF#000000##FFFFFF
##16216D1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00266C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16216d;
/* rgb */ color: rgb(22, 33, 109);
/* oklch */ color: oklch(29.7% 0.131 269.7);
Tailwind
colors: {
  custom: {
    50: '#635c98',
    500: '#16216d',
    950: '#000000',
  },
}
SCSS
$custom: #16216d;
$custom-light: #635c98;
$custom-dark: #000000;
JSON
{
  "hex": "#16216d",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 232.414,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29693,
    "c": 0.13103,
    "h": 269.7
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#16216D
secondary
#A3963C
accent
#D43EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #16216D

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

Preview Lab → · Contrast checker → · Palette generator →

#16216D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva