#16173F#16173F

#16173F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.075 H 277.7°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#16173F
RGBrgb(22, 23, 63)
HSLhsl(239, 48%, 17%)
HSVhsv(239, 65%, 25%)
CMYKcmyk(65.1%, 63.5%, 0%, 75.3%)
CIE-LABlab(10.12, 13.76, -25.81)
CIE-LCHlch(10.12, 29.25, 298.06°)
OKLaboklab(23.07% 0.01 -0.074)
OKLCHoklch(23.07% 0.075 277.7)
XYZxyz(1.5342, 1.1421, 4.8413)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16173F #3F3E16
analogous
#162C3F #16173F #2A163F
triadic
#16173F #3F1617 #173F16
tetradic
#16173F #3F162C #3F3E16 #163F2A
square
#16173F #3F162C #3F3E16 #163F2A
split-complementary
#16173F #3F2A16 #2C3F16
monochromatic
#080817 #080817 #16173F #26286C #36389A

Accessibility & contrast

On white

17.10
#16173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#16173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16173F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16173F#FFFFFF#000000##FFFFFF
##16173F1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#022028
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #16173f;
/* rgb */ color: rgb(22, 23, 63);
/* oklch */ color: oklch(23.1% 0.075 277.7);
Tailwind
colors: {
  custom: {
    50: '#585374',
    500: '#16173f',
    950: '#000000',
  },
}
SCSS
$custom: #16173f;
$custom-light: #585374;
$custom-dark: #000000;
JSON
{
  "hex": "#16173f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 238.537,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23069,
    "c": 0.07467,
    "h": 277.7
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#16173F
secondary
#76753B
accent
#D550D8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #16173F

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

Preview Lab → · Contrast checker → · Palette generator →

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