#16408E#16408E

#16408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.138 H 261.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#16408E
RGBrgb(22, 64, 142)
HSLhsl(219, 73%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(84.5%, 54.9%, 0%, 44.3%)
CIE-LABlab(28.88, 16.60, -47.24)
CIE-LCHlch(28.88, 50.07, 289.37°)
OKLaboklab(39.25% -0.0206 -0.1363)
OKLCHoklch(39.25% 0.138 261.4)
XYZxyz(7.0450, 5.7895, 26.3321)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16408E #8E6416
analogous
#167C8E #16408E #28168E
triadic
#16408E #8E1640 #408E16
tetradic
#16408E #8E167C #8E6416 #168E28
square
#16408E #8E167C #8E6416 #168E28
split-complementary
#16408E #8E2816 #7C8E16
monochromatic
#061024 #0E2859 #16408E #1E58C3 #3D77E1

Accessibility & contrast

On white

9.73
#16408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#16408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16408E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16408E#FFFFFF#000000##FFFFFF
##16408E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #16408e;
/* rgb */ color: rgb(22, 64, 142);
/* oklch */ color: oklch(39.3% 0.138 261.4);
Tailwind
colors: {
  custom: {
    50: '#6a74b0',
    500: '#16408e',
    950: '#000000',
  },
}
SCSS
$custom: #16408e;
$custom-light: #6a74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16408e",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 219,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.13783,
    "h": 261.4
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#16408E
secondary
#C1933F
accent
#AF38F0
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #16408E

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

Preview Lab → · Contrast checker → · Palette generator →

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