#17173C#17173C

#17173C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.9% C 0.069 H 279.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#17173C
RGBrgb(23, 23, 60)
HSLhsl(240, 45%, 16%)
HSVhsv(240, 62%, 24%)
CMYKcmyk(61.7%, 61.7%, 0%, 76.5%)
CIE-LABlab(9.96, 12.81, -23.94)
CIE-LCHlch(9.96, 27.15, 298.16°)
OKLaboklab(22.89% 0.0114 -0.0684)
OKLCHoklch(22.89% 0.069 279.4)
XYZxyz(1.4751, 1.1211, 4.4128)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17173C #3C3C17
analogous
#172A3C #17173C #2A173C
triadic
#17173C #3C1717 #173C17
tetradic
#17173C #3C172A #3C3C17 #173C2A
square
#17173C #3C172A #3C3C17 #173C2A
split-complementary
#17173C #3C2A17 #2A3C17
monochromatic
#080816 #080816 #17173C #282868 #393994

Accessibility & contrast

On white

17.15
#17173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17173C
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17173C#FFFFFF#000000##FFFFFF
##17173C1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#011A3B
Tritanopia (blue-blind)
#071F26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17173c;
/* rgb */ color: rgb(23, 23, 60);
/* oklch */ color: oklch(22.9% 0.069 279.4);
Tailwind
colors: {
  custom: {
    50: '#585372',
    500: '#17173c',
    950: '#000000',
  },
}
SCSS
$custom: #17173c;
$custom-light: #585372;
$custom-dark: #000000;
JSON
{
  "hex": "#17173c",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 44.578,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22891,
    "c": 0.06936,
    "h": 279.4
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#17173C
secondary
#73733C
accent
#D454D4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #17173C

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

Preview Lab → · Contrast checker → · Palette generator →

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