#17175C#17175C

#17175C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.119 H 274.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#17175C
RGBrgb(23, 23, 92)
HSLhsl(240, 60%, 23%)
HSVhsv(240, 75%, 36%)
CMYKcmyk(75%, 75%, 0%, 63.9%)
CIE-LABlab(13.03, 25.35, -41.04)
CIE-LCHlch(13.03, 48.24, 301.70°)
OKLaboklab(26.09% 0.0091 -0.1186)
OKLCHoklch(26.09% 0.119 274.4)
XYZxyz(2.5909, 1.5674, 10.2891)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17175C #5C5C17
analogous
#17395C #17175C #39175C
triadic
#17175C #5C1717 #175C17
tetradic
#17175C #5C1739 #5C5C17 #175C39
square
#17175C #5C1739 #5C5C17 #175C39
split-complementary
#17175C #5C3917 #395C17
monochromatic
#060618 #0B0B2B #17175C #23238D #2F2FBE

Accessibility & contrast

On white

15.99
#17175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17175C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17175C#FFFFFF#000000##FFFFFF
##17175C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #17175c;
/* rgb */ color: rgb(23, 23, 92);
/* oklch */ color: oklch(26.1% 0.119 274.4);
Tailwind
colors: {
  custom: {
    50: '#60548b',
    500: '#17175c',
    950: '#000000',
  },
}
SCSS
$custom: #17175c;
$custom-light: #60548b;
$custom-dark: #000000;
JSON
{
  "hex": "#17175c",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.11898,
    "h": 274.4
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17175C

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

Preview Lab → · Contrast checker → · Palette generator →

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