#16408B#16408B

#16408B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.134 H 261.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#16408B
RGBrgb(22, 64, 139)
HSLhsl(218, 73%, 32%)
HSVhsv(218, 84%, 55%)
CMYKcmyk(84.2%, 54%, 0%, 45.5%)
CIE-LABlab(28.64, 15.37, -45.76)
CIE-LCHlch(28.64, 48.27, 288.56°)
OKLaboklab(39% -0.0209 -0.1319)
OKLCHoklch(39% 0.134 261)
XYZxyz(6.8228, 5.7006, 25.1618)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16408B #8B6116
analogous
#167B8B #16408B #27168B
triadic
#16408B #8B1640 #408B16
tetradic
#16408B #8B167B #8B6116 #168B27
square
#16408B #8B167B #8B6116 #168B27
split-complementary
#16408B #8B2716 #7B8B16
monochromatic
#050F21 #0E2856 #16408B #1E58C0 #3B76E0

Accessibility & contrast

On white

9.81
#16408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#16408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16408B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16408B#FFFFFF#000000##FFFFFF
##16408B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #16408b;
/* rgb */ color: rgb(22, 64, 139);
/* oklch */ color: oklch(39.0% 0.134 261.0);
Tailwind
colors: {
  custom: {
    50: '#6974ad',
    500: '#16408b',
    950: '#000000',
  },
}
SCSS
$custom: #16408b;
$custom-light: #6974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#16408b",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 218.462,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39004,
    "c": 0.13359,
    "h": 261
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#16408B
secondary
#BF913E
accent
#AE38EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #16408B

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

Preview Lab → · Contrast checker → · Palette generator →

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