#17174A#17174A

#17174A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.092 H 277.0°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#17174A
RGBrgb(23, 23, 74)
HSLhsl(240, 53%, 19%)
HSVhsv(240, 69%, 29%)
CMYKcmyk(68.9%, 68.9%, 0%, 71%)
CIE-LABlab(11.20, 18.35, -31.77)
CIE-LCHlch(11.20, 36.69, 300.01°)
OKLaboklab(24.2% 0.0112 -0.0915)
OKLCHoklch(24.2% 0.092 277)
XYZxyz(1.8954, 1.2892, 6.6262)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17174A #4A4A17
analogous
#17314A #17174A #31174A
triadic
#17174A #4A1717 #174A17
tetradic
#17174A #4A1731 #4A4A17 #174A31
square
#17174A #4A1731 #4A4A17 #174A31
split-complementary
#17174A #4A3117 #314A17
monochromatic
#070717 #08081B #17174A #262679 #3434A7

Accessibility & contrast

On white

16.70
#17174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#17174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17174A
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17174A#FFFFFF#000000##FFFFFF
##17174A1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00242D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17174a;
/* rgb */ color: rgb(23, 23, 74);
/* oklch */ color: oklch(24.2% 0.092 277.0);
Tailwind
colors: {
  custom: {
    50: '#5b547d',
    500: '#17174a',
    950: '#000000',
  },
}
SCSS
$custom: #17174a;
$custom-light: #5b547d;
$custom-dark: #000000;
JSON
{
  "hex": "#17174a",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24198,
    "c": 0.09216,
    "h": 277
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#17174A
secondary
#81813C
accent
#DC4CDC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17174A

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

Preview Lab → · Contrast checker → · Palette generator →

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