#170D59#170D59

#170D59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.2% C 0.126 H 277.3°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#170D59
RGBrgb(23, 13, 89)
HSLhsl(248, 75%, 20%)
HSVhsv(248, 85%, 35%)
CMYKcmyk(74.2%, 85.4%, 0%, 65.1%)
CIE-LABlab(10.49, 30.43, -43.21)
CIE-LCHlch(10.49, 52.85, 305.16°)
OKLaboklab(24.19% 0.0159 -0.1249)
OKLCHoklch(24.19% 0.126 277.3)
XYZxyz(2.2999, 1.1911, 9.5580)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D59 #4F590D
analogous
#0D2959 #170D59 #3D0D59
triadic
#170D59 #59170D #0D5917
tetradic
#170D59 #590D29 #4F590D #0D593D
square
#170D59 #590D29 #4F590D #0D593D
split-complementary
#170D59 #593D0D #29590D
monochromatic
#07041B #090524 #170D59 #25158E #331DC4

Accessibility & contrast

On white

16.96
#170D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#170D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170D59
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D59#FFFFFF#000000##FFFFFF
##170D591.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5B
Deuteranopia (green-blind)
#001958
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170d59;
/* rgb */ color: rgb(23, 13, 89);
/* oklch */ color: oklch(24.2% 0.126 277.3);
Tailwind
colors: {
  custom: {
    50: '#604e89',
    500: '#170d59',
    950: '#000000',
  },
}
SCSS
$custom: #170d59;
$custom-light: #604e89;
$custom-dark: #000000;
JSON
{
  "hex": "#170d59",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 89
  },
  "hsl": {
    "h": 247.895,
    "s": 74.51,
    "l": 20
  },
  "oklch": {
    "l": 0.24188,
    "c": 0.12587,
    "h": 277.3
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#170D59
secondary
#86932E
accent
#F137D9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #170D59

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

Preview Lab → · Contrast checker → · Palette generator →

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