#16216A#16216A

#16216A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.127 H 269.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#16216A
RGBrgb(22, 33, 106)
HSLhsl(232, 66%, 25%)
HSVhsv(232, 79%, 42%)
CMYKcmyk(79.2%, 68.9%, 0%, 58.4%)
CIE-LABlab(16.98, 23.79, -43.82)
CIE-LCHlch(16.98, 49.87, 298.50°)
OKLaboklab(29.38% -0.0005 -0.1267)
OKLCHoklch(29.38% 0.127 269.8)
XYZxyz(3.4754, 2.2985, 13.8934)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16216A #6A5F16
analogous
#164B6A #16216A #35166A
triadic
#16216A #6A1621 #216A16
tetradic
#16216A #6A164B #6A5F16 #166A35
square
#16216A #6A164B #6A5F16 #166A35
split-complementary
#16216A #6A3516 #4B6A16
monochromatic
#050819 #0B1137 #16216A #21319D #2B41CF

Accessibility & contrast

On white

14.39
#16216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16216A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16216A#FFFFFF#000000##FFFFFF
##16216A1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002669
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16216a;
/* rgb */ color: rgb(22, 33, 106);
/* oklch */ color: oklch(29.4% 0.127 269.8);
Tailwind
colors: {
  custom: {
    50: '#625c95',
    500: '#16216a',
    950: '#000000',
  },
}
SCSS
$custom: #16216a;
$custom-light: #625c95;
$custom-dark: #000000;
JSON
{
  "hex": "#16216a",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 232.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29381,
    "c": 0.12675,
    "h": 269.8
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#16216A
secondary
#A0933B
accent
#D23FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16216A

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

Preview Lab → · Contrast checker → · Palette generator →

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