#17175B#17175B

#17175B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 26.0% C 0.118 H 274.5°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#17175B
RGBrgb(23, 23, 91)
HSLhsl(240, 60%, 22%)
HSVhsv(240, 75%, 36%)
CMYKcmyk(74.7%, 74.7%, 0%, 64.3%)
CIE-LABlab(12.92, 24.97, -40.55)
CIE-LCHlch(12.92, 47.62, 301.62°)
OKLaboklab(25.98% 0.0093 -0.1172)
OKLCHoklch(25.98% 0.118 274.5)
XYZxyz(2.5474, 1.5500, 10.0604)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175B #5B5B17
analogous
#17395B #17175B #39175B
triadic
#17175B #5B1717 #175B17
tetradic
#17175B #5B1739 #5B5B17 #175B39
square
#17175B #5B1739 #5B5B17 #175B39
split-complementary
#17175B #5B3917 #395B17
monochromatic
#060618 #0B0B2A #17175B #23238C #3030BD

Accessibility & contrast

On white

16.03
#17175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17175B
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175B#FFFFFF#000000##FFFFFF
##17175B1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #17175b;
/* rgb */ color: rgb(23, 23, 91);
/* oklch */ color: oklch(26.0% 0.118 274.5);
Tailwind
colors: {
  custom: {
    50: '#60548a',
    500: '#17175b',
    950: '#000000',
  },
}
SCSS
$custom: #17175b;
$custom-light: #60548a;
$custom-dark: #000000;
JSON
{
  "hex": "#17175b",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 240,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.25979,
    "c": 0.11756,
    "h": 274.5
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#17175B
secondary
#92923C
accent
#E345E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17175B

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

Preview Lab → · Contrast checker → · Palette generator →

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