#17174B#17174B

#17174B is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.094 H 276.9°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#17174B
RGBrgb(23, 23, 75)
HSLhsl(240, 53%, 19%)
HSVhsv(240, 69%, 29%)
CMYKcmyk(69.3%, 69.3%, 0%, 70.6%)
CIE-LABlab(11.30, 18.74, -32.31)
CIE-LCHlch(11.30, 37.35, 300.12°)
OKLaboklab(24.3% 0.0112 -0.093)
OKLCHoklch(24.3% 0.094 276.9)
XYZxyz(1.9293, 1.3028, 6.8050)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17174B #4B4B17
analogous
#17314B #17174B #31174B
triadic
#17174B #4B1717 #174B17
tetradic
#17174B #4B1731 #4B4B17 #174B31
square
#17174B #4B1731 #4B4B17 #174B31
split-complementary
#17174B #4B3117 #314B17
monochromatic
#070717 #09091C #17174B #25257A #3434A9

Accessibility & contrast

On white

16.66
#17174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17174B
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17174B#FFFFFF#000000##FFFFFF
##17174B1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17174b;
/* rgb */ color: rgb(23, 23, 75);
/* oklch */ color: oklch(24.3% 0.094 276.9);
Tailwind
colors: {
  custom: {
    50: '#5b547e',
    500: '#17174b',
    950: '#000000',
  },
}
SCSS
$custom: #17174b;
$custom-light: #5b547e;
$custom-dark: #000000;
JSON
{
  "hex": "#17174b",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 240,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24297,
    "c": 0.09372,
    "h": 276.9
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#17174B
secondary
#82823C
accent
#DC4BDC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17174B

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

Preview Lab → · Contrast checker → · Palette generator →

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