#16173D#16173D

#16173D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.071 H 278.0°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#16173D
RGBrgb(22, 23, 61)
HSLhsl(238, 47%, 16%)
HSVhsv(238, 64%, 24%)
CMYKcmyk(63.9%, 62.3%, 0%, 76.1%)
CIE-LABlab(9.96, 12.96, -24.66)
CIE-LCHlch(9.96, 27.86, 297.72°)
OKLaboklab(22.89% 0.01 -0.0706)
OKLCHoklch(22.89% 0.071 278)
XYZxyz(1.4793, 1.1202, 4.5522)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16173D #3D3C16
analogous
#162B3D #16173D #29163D
triadic
#16173D #3D1617 #173D16
tetradic
#16173D #3D162B #3D3C16 #163D29
square
#16173D #3D162B #3D3C16 #163D29
split-complementary
#16173D #3D2916 #2B3D16
monochromatic
#080816 #080816 #16173D #26286A #363997

Accessibility & contrast

On white

17.16
#16173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#16173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16173D
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16173D#FFFFFF#000000##FFFFFF
##16173D1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#042027
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #16173d;
/* rgb */ color: rgb(22, 23, 61);
/* oklch */ color: oklch(22.9% 0.071 278.0);
Tailwind
colors: {
  custom: {
    50: '#575373',
    500: '#16173d',
    950: '#000000',
  },
}
SCSS
$custom: #16173d;
$custom-light: #575373;
$custom-dark: #000000;
JSON
{
  "hex": "#16173d",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 238.462,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22889,
    "c": 0.07131,
    "h": 278
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#16173D
secondary
#74733B
accent
#D351D7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #16173D

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

Preview Lab → · Contrast checker → · Palette generator →

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