#17175D#17175D

#17175D is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.120 H 274.3°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#17175D
RGBrgb(23, 23, 93)
HSLhsl(240, 60%, 23%)
HSVhsv(240, 75%, 36%)
CMYKcmyk(75.3%, 75.3%, 0%, 63.5%)
CIE-LABlab(13.14, 25.73, -41.54)
CIE-LCHlch(13.14, 48.86, 301.77°)
OKLaboklab(26.2% 0.0089 -0.1201)
OKLCHoklch(26.2% 0.12 274.3)
XYZxyz(2.6349, 1.5850, 10.5209)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175D #5D5D17
analogous
#173A5D #17175D #3A175D
triadic
#17175D #5D1717 #175D17
tetradic
#17175D #5D173A #5D5D17 #175D3A
square
#17175D #5D173A #5D5D17 #175D3A
split-complementary
#17175D #5D3A17 #3A5D17
monochromatic
#060619 #0B0B2C #17175D #23238E #2F2FBF

Accessibility & contrast

On white

15.95
#17175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#17175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17175D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175D#FFFFFF#000000##FFFFFF
##17175D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17175d;
/* rgb */ color: rgb(23, 23, 93);
/* oklch */ color: oklch(26.2% 0.120 274.3);
Tailwind
colors: {
  custom: {
    50: '#60548c',
    500: '#17175d',
    950: '#000000',
  },
}
SCSS
$custom: #17175d;
$custom-light: #60548c;
$custom-dark: #000000;
JSON
{
  "hex": "#17175d",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26199,
    "c": 0.1204,
    "h": 274.3
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#17175D
secondary
#94943C
accent
#E344E3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #17175D

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

Preview Lab → · Contrast checker → · Palette generator →

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