#16216B#16216B

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

Color values

HEX#16216B
RGBrgb(22, 33, 107)
HSLhsl(232, 66%, 25%)
HSVhsv(232, 79%, 42%)
CMYKcmyk(79.4%, 69.2%, 0%, 58%)
CIE-LABlab(17.08, 24.19, -44.31)
CIE-LCHlch(17.08, 50.49, 298.63°)
OKLaboklab(29.49% -0.0005 -0.1282)
OKLCHoklch(29.49% 0.128 269.8)
XYZxyz(3.5277, 2.3194, 14.1688)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16216B #6B6016
analogous
#164B6B #16216B #35166B
triadic
#16216B #6B1621 #216B16
tetradic
#16216B #6B164B #6B6016 #166B35
square
#16216B #6B164B #6B6016 #166B35
split-complementary
#16216B #6B3516 #4B6B16
monochromatic
#050819 #0C1138 #16216B #20319E #2B40D1

Accessibility & contrast

On white

14.34
#16216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16216B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16216B#FFFFFF#000000##FFFFFF
##16216B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00266A
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16216b;
/* rgb */ color: rgb(22, 33, 107);
/* oklch */ color: oklch(29.5% 0.128 269.8);
Tailwind
colors: {
  custom: {
    50: '#635c96',
    500: '#16216b',
    950: '#000000',
  },
}
SCSS
$custom: #16216b;
$custom-light: #635c96;
$custom-dark: #000000;
JSON
{
  "hex": "#16216b",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 232.235,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.12818,
    "h": 269.8
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#16216B
secondary
#A1943B
accent
#D33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16216B

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

Preview Lab → · Contrast checker → · Palette generator →

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