#16174D#16174D

#16174D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.097 H 275.7°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#16174D
RGBrgb(22, 23, 77)
HSLhsl(239, 56%, 19%)
HSVhsv(239, 71%, 30%)
CMYKcmyk(71.4%, 70.1%, 0%, 69.8%)
CIE-LABlab(11.41, 19.36, -33.51)
CIE-LCHlch(11.41, 38.70, 300.01°)
OKLaboklab(24.42% 0.0096 -0.0966)
OKLCHoklch(24.42% 0.097 275.7)
XYZxyz(1.9764, 1.3190, 7.1702)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16174D #4D4C16
analogous
#16334D #16174D #31164D
triadic
#16174D #4D1617 #174D16
tetradic
#16174D #4D1633 #4D4C16 #164D31
square
#16174D #4D1633 #4D4C16 #164D31
split-complementary
#16174D #4D3116 #334D16
monochromatic
#070718 #08091D #16174D #24257D #3133AC

Accessibility & contrast

On white

16.62
#16174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#16174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16174D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16174D#FFFFFF#000000##FFFFFF
##16174D1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#00252F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #16174d;
/* rgb */ color: rgb(22, 23, 77);
/* oklch */ color: oklch(24.4% 0.097 275.7);
Tailwind
colors: {
  custom: {
    50: '#5b547f',
    500: '#16174d',
    950: '#000000',
  },
}
SCSS
$custom: #16174d;
$custom-light: #5b547f;
$custom-dark: #000000;
JSON
{
  "hex": "#16174d",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 238.909,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24419,
    "c": 0.09709,
    "h": 275.7
  },
  "luminance": 0.01319
}

Semantic roles & 50–950 ramp

primary
#16174D
secondary
#85833A
accent
#DC49DF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #16174D

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

Preview Lab → · Contrast checker → · Palette generator →

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