#17179F#17179F

#17179F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.2% C 0.204 H 268.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#17179F
RGBrgb(23, 23, 159)
HSLhsl(240, 75%, 36%)
HSVhsv(240, 86%, 62%)
CMYKcmyk(85.5%, 85.5%, 0%, 37.6%)
CIE-LABlab(21.20, 48.40, -70.30)
CIE-LCHlch(21.20, 85.35, 304.55°)
OKLaboklab(34.19% -0.0047 -0.2035)
OKLCHoklch(34.19% 0.204 268.7)
XYZxyz(6.9156, 3.2973, 33.0661)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17179F #9F9F17
analogous
#175B9F #17179F #5B179F
triadic
#17179F #9F1717 #179F17
tetradic
#17179F #9F175B #9F9F17 #179F5B
square
#17179F #9F175B #9F9F17 #179F5B
split-complementary
#17179F #9F5B17 #5B9F17
monochromatic
#080834 #0F0F6A #17179F #1F1FD4 #4B4BE5

Accessibility & contrast

On white

12.65
#17179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#17179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17179F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17179F#FFFFFF#000000##FFFFFF
##17179F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17179f;
/* rgb */ color: rgb(23, 23, 159);
/* oklch */ color: oklch(34.2% 0.204 268.7);
Tailwind
colors: {
  custom: {
    50: '#7259bd',
    500: '#17179f',
    950: '#000000',
  },
}
SCSS
$custom: #17179f;
$custom-light: #7259bd;
$custom-dark: #000000;
JSON
{
  "hex": "#17179f",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34189,
    "c": 0.20355,
    "h": 268.7
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#17179F
secondary
#C7C74B
accent
#F136F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #17179F

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

Preview Lab → · Contrast checker → · Palette generator →

#17179F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva