#17175A#17175A

#17175A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.9% C 0.116 H 274.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#17175A
RGBrgb(23, 23, 90)
HSLhsl(240, 59%, 22%)
HSVhsv(240, 74%, 35%)
CMYKcmyk(74.4%, 74.4%, 0%, 64.7%)
CIE-LABlab(12.82, 24.58, -40.05)
CIE-LCHlch(12.82, 47.00, 301.54°)
OKLaboklab(25.87% 0.0094 -0.1157)
OKLCHoklch(25.87% 0.116 274.6)
XYZxyz(2.5046, 1.5329, 9.8348)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175A #5A5A17
analogous
#17395A #17175A #39175A
triadic
#17175A #5A1717 #175A17
tetradic
#17175A #5A1739 #5A5A17 #175A39
square
#17175A #5A1739 #5A5A17 #175A39
split-complementary
#17175A #5A3917 #395A17
monochromatic
#060618 #0B0B29 #17175A #23238B #3030BB

Accessibility & contrast

On white

16.07
#17175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#17175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17175A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175A#FFFFFF#000000##FFFFFF
##17175A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17175a;
/* rgb */ color: rgb(23, 23, 90);
/* oklch */ color: oklch(25.9% 0.116 274.6);
Tailwind
colors: {
  custom: {
    50: '#5f5489',
    500: '#17175a',
    950: '#000000',
  },
}
SCSS
$custom: #17175a;
$custom-light: #5f5489;
$custom-dark: #000000;
JSON
{
  "hex": "#17175a",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 240,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25869,
    "c": 0.11612,
    "h": 274.6
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#17175A
secondary
#91913C
accent
#E245E2
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #17175A

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

Preview Lab → · Contrast checker → · Palette generator →

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