#17173A#17173A

#17173A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.066 H 279.8°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#17173A
RGBrgb(23, 23, 58)
HSLhsl(240, 43%, 16%)
HSVhsv(240, 60%, 23%)
CMYKcmyk(60.3%, 60.3%, 0%, 77.3%)
CIE-LABlab(9.80, 12.03, -22.77)
CIE-LCHlch(9.80, 25.75, 297.85°)
OKLaboklab(22.72% 0.0112 -0.065)
OKLCHoklch(22.72% 0.066 279.8)
XYZxyz(1.4232, 1.1004, 4.1396)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17173A #3A3A17
analogous
#17283A #17173A #28173A
triadic
#17173A #3A1717 #173A17
tetradic
#17173A #3A1728 #3A3A17 #173A28
square
#17173A #3A1728 #3A3A17 #173A28
split-complementary
#17173A #3A2817 #283A17
monochromatic
#090916 #090916 #17173A #282866 #3A3A92

Accessibility & contrast

On white

17.21
#17173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#17173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17173A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17173A#FFFFFF#000000##FFFFFF
##17173A1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#081F25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17173a;
/* rgb */ color: rgb(23, 23, 58);
/* oklch */ color: oklch(22.7% 0.066 279.8);
Tailwind
colors: {
  custom: {
    50: '#575370',
    500: '#17173a',
    950: '#000000',
  },
}
SCSS
$custom: #17173a;
$custom-light: #575370;
$custom-dark: #000000;
JSON
{
  "hex": "#17173a",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22719,
    "c": 0.06595,
    "h": 279.8
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#17173A
secondary
#71713C
accent
#D355D3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030207
muted
#78787A

Preview Lab

Preview with #17173A

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

Preview Lab → · Contrast checker → · Palette generator →

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