#16216C#16216C

#16216C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.130 H 269.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#16216C
RGBrgb(22, 33, 108)
HSLhsl(232, 66%, 25%)
HSVhsv(232, 80%, 42%)
CMYKcmyk(79.6%, 69.4%, 0%, 57.6%)
CIE-LABlab(17.18, 24.59, -44.80)
CIE-LCHlch(17.18, 51.10, 298.76°)
OKLaboklab(29.59% -0.0006 -0.1296)
OKLCHoklch(29.59% 0.13 269.7)
XYZxyz(3.5806, 2.3406, 14.4475)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16216C #6C6116
analogous
#164C6C #16216C #36166C
triadic
#16216C #6C1621 #216C16
tetradic
#16216C #6C164C #6C6116 #166C36
square
#16216C #6C164C #6C6116 #166C36
split-complementary
#16216C #6C3616 #4C6C16
monochromatic
#050819 #0C1139 #16216C #20319F #2B40D2

Accessibility & contrast

On white

14.30
#16216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16216C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16216C#FFFFFF#000000##FFFFFF
##16216C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00266B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16216c;
/* rgb */ color: rgb(22, 33, 108);
/* oklch */ color: oklch(29.6% 0.130 269.7);
Tailwind
colors: {
  custom: {
    50: '#635c97',
    500: '#16216c',
    950: '#000000',
  },
}
SCSS
$custom: #16216c;
$custom-light: #635c97;
$custom-dark: #000000;
JSON
{
  "hex": "#16216c",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 232.326,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.12961,
    "h": 269.7
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16216C

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

Preview Lab → · Contrast checker → · Palette generator →

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