#16418E#16418E

#16418E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.137 H 261.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#16418E
RGBrgb(22, 65, 142)
HSLhsl(219, 73%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(84.5%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.17, 15.91, -46.76)
CIE-LCHlch(29.17, 49.39, 288.79°)
OKLaboklab(39.48% -0.0213 -0.1349)
OKLCHoklch(39.48% 0.137 261)
XYZxyz(7.1019, 5.9033, 26.3511)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16418E #8E6316
analogous
#167D8E #16418E #27168E
triadic
#16418E #8E1641 #418E16
tetradic
#16418E #8E167D #8E6316 #168E27
square
#16418E #8E167D #8E6316 #168E27
split-complementary
#16418E #8E2716 #7D8E16
monochromatic
#061024 #0E2959 #16418E #1E59C3 #3D78E1

Accessibility & contrast

On white

9.63
#16418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#16418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16418E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16418E#FFFFFF#000000##FFFFFF
##16418E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #16418e;
/* rgb */ color: rgb(22, 65, 142);
/* oklch */ color: oklch(39.5% 0.137 261.0);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#16418e',
    950: '#000000',
  },
}
SCSS
$custom: #16418e;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16418e",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 218.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39475,
    "c": 0.13653,
    "h": 261
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#16418E
secondary
#C1923F
accent
#AE38F0
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #16418E

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

Preview Lab → · Contrast checker → · Palette generator →

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