#16173B#16173B

#16173B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.068 H 278.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#16173B
RGBrgb(22, 23, 59)
HSLhsl(238, 46%, 16%)
HSVhsv(238, 63%, 23%)
CMYKcmyk(62.7%, 61%, 0%, 76.9%)
CIE-LABlab(9.79, 12.17, -23.50)
CIE-LCHlch(9.79, 26.47, 297.37°)
OKLaboklab(22.71% 0.0098 -0.0672)
OKLCHoklch(22.71% 0.068 278.3)
XYZxyz(1.4264, 1.0990, 4.2738)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16173B #3B3A16
analogous
#16293B #16173B #27163B
triadic
#16173B #3B1617 #173B16
tetradic
#16173B #3B1629 #3B3A16 #163B27
square
#16173B #3B1629 #3B3A16 #163B27
split-complementary
#16173B #3B2716 #293B16
monochromatic
#080916 #080916 #16173B #272868 #373A94

Accessibility & contrast

On white

17.22
#16173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16173B
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16173B#FFFFFF#000000##FFFFFF
##16173B1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3C
Deuteranopia (green-blind)
#011A3A
Tritanopia (blue-blind)
#051F26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #16173b;
/* rgb */ color: rgb(22, 23, 59);
/* oklch */ color: oklch(22.7% 0.068 278.3);
Tailwind
colors: {
  custom: {
    50: '#575371',
    500: '#16173b',
    950: '#000000',
  },
}
SCSS
$custom: #16173b;
$custom-light: #575371;
$custom-dark: #000000;
JSON
{
  "hex": "#16173b",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 238.378,
    "s": 45.679,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22714,
    "c": 0.06791,
    "h": 278.3
  },
  "luminance": 0.01099
}

Semantic roles & 50–950 ramp

primary
#16173B
secondary
#72713B
accent
#D252D5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #16173B

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

Preview Lab → · Contrast checker → · Palette generator →

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