#17173D#17173D

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

Color values

HEX#17173D
RGBrgb(23, 23, 61)
HSLhsl(240, 45%, 16%)
HSVhsv(240, 62%, 24%)
CMYKcmyk(62.3%, 62.3%, 0%, 76.1%)
CIE-LABlab(10.04, 13.21, -24.52)
CIE-LCHlch(10.04, 27.85, 298.31°)
OKLaboklab(22.98% 0.0114 -0.0701)
OKLCHoklch(22.98% 0.071 279.2)
XYZxyz(1.5018, 1.1318, 4.5533)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17173D #3D3D17
analogous
#172A3D #17173D #2A173D
triadic
#17173D #3D1717 #173D17
tetradic
#17173D #3D172A #3D3D17 #173D2A
square
#17173D #3D172A #3D3D17 #173D2A
split-complementary
#17173D #3D2A17 #2A3D17
monochromatic
#080816 #080816 #17173D #282869 #393996

Accessibility & contrast

On white

17.12
#17173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#17173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17173D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17173D#FFFFFF#000000##FFFFFF
##17173D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#062027
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17173d;
/* rgb */ color: rgb(23, 23, 61);
/* oklch */ color: oklch(23.0% 0.071 279.2);
Tailwind
colors: {
  custom: {
    50: '#585373',
    500: '#17173d',
    950: '#000000',
  },
}
SCSS
$custom: #17173d;
$custom-light: #585373;
$custom-dark: #000000;
JSON
{
  "hex": "#17173d",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 240,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22979,
    "c": 0.07106,
    "h": 279.2
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#17173D
secondary
#74743C
accent
#D553D5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #17173D

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

Preview Lab → · Contrast checker → · Palette generator →

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