#170F59#170F59

#170F59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.5% C 0.124 H 276.9°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#170F59
RGBrgb(23, 15, 89)
HSLhsl(246, 71%, 20%)
HSVhsv(246, 83%, 35%)
CMYKcmyk(74.2%, 83.1%, 0%, 65.1%)
CIE-LABlab(10.88, 29.30, -42.56)
CIE-LCHlch(10.88, 51.67, 304.54°)
OKLaboklab(24.46% 0.0148 -0.123)
OKLCHoklch(24.46% 0.124 276.9)
XYZxyz(2.3268, 1.2449, 9.5669)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F59 #51590F
analogous
#0F2C59 #170F59 #3C0F59
triadic
#170F59 #59170F #0F5917
tetradic
#170F59 #590F2C #51590F #0F593C
square
#170F59 #590F2C #51590F #0F593C
split-complementary
#170F59 #593C0F #2C590F
monochromatic
#07041A #090625 #170F59 #25188D #3221C2

Accessibility & contrast

On white

16.81
#170F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#170F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F59
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F59#FFFFFF#000000##FFFFFF
##170F591.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205B
Deuteranopia (green-blind)
#001A58
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #170f59;
/* rgb */ color: rgb(23, 15, 89);
/* oklch */ color: oklch(24.5% 0.124 276.9);
Tailwind
colors: {
  custom: {
    50: '#604f89',
    500: '#170f59',
    950: '#000000',
  },
}
SCSS
$custom: #170f59;
$custom-light: #604f89;
$custom-dark: #000000;
JSON
{
  "hex": "#170f59",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 246.486,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24462,
    "c": 0.12389,
    "h": 276.9
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#170F59
secondary
#889331
accent
#EE3ADA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #170F59

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

Preview Lab → · Contrast checker → · Palette generator →

#170F59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva