#16418A#16418A

#16418A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.131 H 260.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#16418A
RGBrgb(22, 65, 138)
HSLhsl(218, 73%, 31%)
HSVhsv(218, 84%, 54%)
CMYKcmyk(84.1%, 52.9%, 0%, 45.9%)
CIE-LABlab(28.86, 14.26, -44.78)
CIE-LCHlch(28.86, 47.00, 287.66°)
OKLaboklab(39.15% -0.0218 -0.129)
OKLCHoklch(39.15% 0.131 260.4)
XYZxyz(6.8069, 5.7853, 24.7977)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16418A #8A5F16
analogous
#167B8A #16418A #25168A
triadic
#16418A #8A1641 #418A16
tetradic
#16418A #8A167B #8A5F16 #168A25
square
#16418A #8A167B #8A5F16 #168A25
split-complementary
#16418A #8A2516 #7B8A16
monochromatic
#050F20 #0E2855 #16418A #1E5ABF #3B78E0

Accessibility & contrast

On white

9.73
#16418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16418A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16418A#FFFFFF#000000##FFFFFF
##16418A1.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)
#0F4A8D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #16418a;
/* rgb */ color: rgb(22, 65, 138);
/* oklch */ color: oklch(39.1% 0.131 260.4);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#16418a',
    950: '#000000',
  },
}
SCSS
$custom: #16418a;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#16418a",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 217.759,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39148,
    "c": 0.13088,
    "h": 260.4
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#16418A
secondary
#BE8E3E
accent
#AC39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #16418A

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

Preview Lab → · Contrast checker → · Palette generator →

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