#16173E#16173E

#16173E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.073 H 277.9°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#16173E
RGBrgb(22, 23, 62)
HSLhsl(239, 48%, 16%)
HSVhsv(239, 65%, 24%)
CMYKcmyk(64.5%, 62.9%, 0%, 75.7%)
CIE-LABlab(10.04, 13.36, -25.24)
CIE-LCHlch(10.04, 28.56, 297.89°)
OKLaboklab(22.98% 0.01 -0.0723)
OKLCHoklch(22.98% 0.073 277.9)
XYZxyz(1.5065, 1.1311, 4.6954)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16173E #3E3D16
analogous
#162B3E #16173E #29163E
triadic
#16173E #3E1617 #173E16
tetradic
#16173E #3E162B #3E3D16 #163E29
square
#16173E #3E162B #3E3D16 #163E29
split-complementary
#16173E #3E2916 #2B3E16
monochromatic
#080817 #080817 #16173E #26286B #363998

Accessibility & contrast

On white

17.13
#16173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16173E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16173E#FFFFFF#000000##FFFFFF
##16173E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#032027
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #16173e;
/* rgb */ color: rgb(22, 23, 62);
/* oklch */ color: oklch(23.0% 0.073 277.9);
Tailwind
colors: {
  custom: {
    50: '#585373',
    500: '#16173e',
    950: '#000000',
  },
}
SCSS
$custom: #16173e;
$custom-light: #585373;
$custom-dark: #000000;
JSON
{
  "hex": "#16173e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 238.5,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22979,
    "c": 0.07299,
    "h": 277.9
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#16173E
secondary
#75743B
accent
#D451D7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #16173E

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

Preview Lab → · Contrast checker → · Palette generator →

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