#17174F#17174F

#17174F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.100 H 276.2°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#17174F
RGBrgb(23, 23, 79)
HSLhsl(240, 55%, 20%)
HSVhsv(240, 71%, 31%)
CMYKcmyk(70.9%, 70.9%, 0%, 69%)
CIE-LABlab(11.68, 20.32, -34.43)
CIE-LCHlch(11.68, 39.98, 300.54°)
OKLaboklab(24.7% 0.0108 -0.0993)
OKLCHoklch(24.7% 0.1 276.2)
XYZxyz(2.0706, 1.3593, 7.5489)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17174F #4F4F17
analogous
#17334F #17174F #33174F
triadic
#17174F #4F1717 #174F17
tetradic
#17174F #4F1733 #4F4F17 #174F33
square
#17174F #4F1733 #4F4F17 #174F33
split-complementary
#17174F #4F3317 #334F17
monochromatic
#070718 #090920 #17174F #25257E #3333AE

Accessibility & contrast

On white

16.51
#17174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#17174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17174F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17174F#FFFFFF#000000##FFFFFF
##17174F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #17174f;
/* rgb */ color: rgb(23, 23, 79);
/* oklch */ color: oklch(24.7% 0.100 276.2);
Tailwind
colors: {
  custom: {
    50: '#5c5481',
    500: '#17174f',
    950: '#000000',
  },
}
SCSS
$custom: #17174f;
$custom-light: #5c5481;
$custom-dark: #000000;
JSON
{
  "hex": "#17174f",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 240,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.24702,
    "c": 0.09987,
    "h": 276.2
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#17174F
secondary
#86863C
accent
#DE4ADE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17174F

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

Preview Lab → · Contrast checker → · Palette generator →

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