#16173C#16173C

#16173C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.8% C 0.070 H 278.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#16173C
RGBrgb(22, 23, 60)
HSLhsl(238, 46%, 16%)
HSVhsv(238, 63%, 24%)
CMYKcmyk(63.3%, 61.7%, 0%, 76.5%)
CIE-LABlab(9.87, 12.56, -24.09)
CIE-LCHlch(9.87, 27.17, 297.55°)
OKLaboklab(22.8% 0.0099 -0.0689)
OKLCHoklch(22.8% 0.07 278.2)
XYZxyz(1.4526, 1.1095, 4.4117)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16173C #3C3B16
analogous
#162A3C #16173C #28163C
triadic
#16173C #3C1617 #173C16
tetradic
#16173C #3C162A #3C3B16 #163C28
square
#16173C #3C162A #3C3B16 #163C28
split-complementary
#16173C #3C2816 #2A3C16
monochromatic
#080916 #080916 #16173C #262869 #373996

Accessibility & contrast

On white

17.18
#16173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16173C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16173C#FFFFFF#000000##FFFFFF
##16173C1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3D
Deuteranopia (green-blind)
#001A3B
Tritanopia (blue-blind)
#041F26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #16173c;
/* rgb */ color: rgb(22, 23, 60);
/* oklch */ color: oklch(22.8% 0.070 278.2);
Tailwind
colors: {
  custom: {
    50: '#575372',
    500: '#16173c',
    950: '#000000',
  },
}
SCSS
$custom: #16173c;
$custom-light: #575372;
$custom-dark: #000000;
JSON
{
  "hex": "#16173c",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 238.421,
    "s": 46.341,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22801,
    "c": 0.06961,
    "h": 278.2
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#16173C
secondary
#73723B
accent
#D352D6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #16173C

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

Preview Lab → · Contrast checker → · Palette generator →

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