#16418B#16418B

#16418B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.132 H 260.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#16418B
RGBrgb(22, 65, 139)
HSLhsl(218, 73%, 32%)
HSVhsv(218, 84%, 55%)
CMYKcmyk(84.2%, 53.2%, 0%, 45.5%)
CIE-LABlab(28.94, 14.67, -45.28)
CIE-LCHlch(28.94, 47.60, 287.95°)
OKLaboklab(39.23% -0.0217 -0.1305)
OKLCHoklch(39.23% 0.132 260.6)
XYZxyz(6.8797, 5.8144, 25.1808)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16418B #8B6016
analogous
#167C8B #16418B #26168B
triadic
#16418B #8B1641 #418B16
tetradic
#16418B #8B167C #8B6016 #168B26
square
#16418B #8B167C #8B6016 #168B26
split-complementary
#16418B #8B2616 #7C8B16
monochromatic
#051021 #0E2856 #16418B #1E5AC0 #3B78E0

Accessibility & contrast

On white

9.71
#16418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#16418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16418B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16418B#FFFFFF#000000##FFFFFF
##16418B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #16418b;
/* rgb */ color: rgb(22, 65, 139);
/* oklch */ color: oklch(39.2% 0.132 260.6);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#16418b',
    950: '#000000',
  },
}
SCSS
$custom: #16418b;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#16418b",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 217.949,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.1323,
    "h": 260.6
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#16418B
secondary
#BF8F3E
accent
#AC38EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #16418B

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

Preview Lab → · Contrast checker → · Palette generator →

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