#16408A#16408A

#16408A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.132 H 260.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#16408A
RGBrgb(22, 64, 138)
HSLhsl(218, 73%, 31%)
HSVhsv(218, 84%, 54%)
CMYKcmyk(84.1%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.57, 14.96, -45.26)
CIE-LCHlch(28.57, 47.67, 288.28°)
OKLaboklab(38.92% -0.0211 -0.1305)
OKLCHoklch(38.92% 0.132 260.8)
XYZxyz(6.7501, 5.6715, 24.7788)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16408A #8A6016
analogous
#167A8A #16408A #26168A
triadic
#16408A #8A1640 #408A16
tetradic
#16408A #8A167A #8A6016 #168A26
square
#16408A #8A167A #8A6016 #168A26
split-complementary
#16408A #8A2616 #7A8A16
monochromatic
#050F20 #0E2855 #16408A #1E58BF #3B76E0

Accessibility & contrast

On white

9.84
#16408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#16408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16408A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16408A#FFFFFF#000000##FFFFFF
##16408A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #16408a;
/* rgb */ color: rgb(22, 64, 138);
/* oklch */ color: oklch(38.9% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#6974ad',
    500: '#16408a',
    950: '#000000',
  },
}
SCSS
$custom: #16408a;
$custom-light: #6974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#16408a",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 218.276,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38922,
    "c": 0.13217,
    "h": 260.8
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#16408A
secondary
#BE903E
accent
#AD39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #16408A

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

Preview Lab → · Contrast checker → · Palette generator →

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