#170E59#170E59

#170E59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.3% C 0.125 H 277.1°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#170E59
RGBrgb(23, 14, 89)
HSLhsl(247, 73%, 20%)
HSVhsv(247, 84%, 35%)
CMYKcmyk(74.2%, 84.3%, 0%, 65.1%)
CIE-LABlab(10.68, 29.87, -42.89)
CIE-LCHlch(10.68, 52.27, 304.86°)
OKLaboklab(24.32% 0.0154 -0.1239)
OKLCHoklch(24.32% 0.125 277.1)
XYZxyz(2.3130, 1.2173, 9.5623)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E59 #50590E
analogous
#0E2A59 #170E59 #3C0E59
triadic
#170E59 #59170E #0E5917
tetradic
#170E59 #590E2A #50590E #0E593C
square
#170E59 #590E2A #50590E #0E593C
split-complementary
#170E59 #593C0E #2A590E
monochromatic
#07041A #090624 #170E59 #25168E #321FC3

Accessibility & contrast

On white

16.89
#170E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E59
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E59#FFFFFF#000000##FFFFFF
##170E591.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.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: #170e59;
/* rgb */ color: rgb(23, 14, 89);
/* oklch */ color: oklch(24.3% 0.125 277.1);
Tailwind
colors: {
  custom: {
    50: '#604e89',
    500: '#170e59',
    950: '#000000',
  },
}
SCSS
$custom: #170e59;
$custom-light: #604e89;
$custom-dark: #000000;
JSON
{
  "hex": "#170e59",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 247.2,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24322,
    "c": 0.1249,
    "h": 277.1
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#170E59
secondary
#879330
accent
#F038DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #170E59

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

Preview Lab → · Contrast checker → · Palette generator →

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