#171159#171159

#171159 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.122 H 276.4°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#171159
RGBrgb(23, 17, 89)
HSLhsl(245, 68%, 21%)
HSVhsv(245, 81%, 35%)
CMYKcmyk(74.2%, 80.9%, 0%, 65.1%)
CIE-LABlab(11.30, 28.10, -41.87)
CIE-LCHlch(11.30, 50.43, 303.87°)
OKLaboklab(24.76% 0.0137 -0.121)
OKLCHoklch(24.76% 0.122 276.4)
XYZxyz(2.3564, 1.3041, 9.5768)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171159 #535911
analogous
#112F59 #171159 #3B1159
triadic
#171159 #591711 #115917
tetradic
#171159 #59112F #535911 #11593B
square
#171159 #59112F #535911 #11593B
split-complementary
#171159 #593B11 #2F5911
monochromatic
#07051A #0A0726 #171159 #241B8C #3225C0

Accessibility & contrast

On white

16.66
#171159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#171159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171159
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171159#FFFFFF#000000##FFFFFF
##1711591.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215B
Deuteranopia (green-blind)
#001B58
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171159;
/* rgb */ color: rgb(23, 17, 89);
/* oklch */ color: oklch(24.8% 0.122 276.4);
Tailwind
colors: {
  custom: {
    50: '#605089',
    500: '#171159',
    950: '#000000',
  },
}
SCSS
$custom: #171159;
$custom-light: #605089;
$custom-dark: #000000;
JSON
{
  "hex": "#171159",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 245,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24758,
    "c": 0.12177,
    "h": 276.4
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#171159
secondary
#8A9234
accent
#EB3DDC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #171159

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

Preview Lab → · Contrast checker → · Palette generator →

#171159 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva