#16418D#16418D

#16418D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.135 H 260.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#16418D
RGBrgb(22, 65, 141)
HSLhsl(218, 73%, 32%)
HSVhsv(218, 84%, 55%)
CMYKcmyk(84.4%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.09, 15.50, -46.27)
CIE-LCHlch(29.09, 48.80, 288.52°)
OKLaboklab(39.39% -0.0214 -0.1334)
OKLCHoklch(39.39% 0.135 260.9)
XYZxyz(7.0271, 5.8734, 25.9575)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16418D #8D6216
analogous
#167D8D #16418D #26168D
triadic
#16418D #8D1641 #418D16
tetradic
#16418D #8D167D #8D6216 #168D26
square
#16418D #8D167D #8D6216 #168D26
split-complementary
#16418D #8D2616 #7D8D16
monochromatic
#051023 #0E2958 #16418D #1E59C2 #3D78E1

Accessibility & contrast

On white

9.66
#16418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#16418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16418D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16418D#FFFFFF#000000##FFFFFF
##16418D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #16418d;
/* rgb */ color: rgb(22, 65, 141);
/* oklch */ color: oklch(39.4% 0.135 260.9);
Tailwind
colors: {
  custom: {
    50: '#6975af',
    500: '#16418d',
    950: '#000000',
  },
}
SCSS
$custom: #16418d;
$custom-light: #6975af;
$custom-dark: #000000;
JSON
{
  "hex": "#16418d",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 218.319,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.13513,
    "h": 260.9
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#16418D
secondary
#C1913E
accent
#AD38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #16418D

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

Preview Lab → · Contrast checker → · Palette generator →

#16418D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva