#170D56#170D56

#170D56 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.122 H 277.9°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#170D56
RGBrgb(23, 13, 86)
HSLhsl(248, 74%, 19%)
HSVhsv(248, 85%, 34%)
CMYKcmyk(73.3%, 84.9%, 0%, 66.3%)
CIE-LABlab(10.12, 29.40, -41.79)
CIE-LCHlch(10.12, 51.09, 305.12°)
OKLaboklab(23.82% 0.0169 -0.1207)
OKLCHoklch(23.82% 0.122 277.9)
XYZxyz(2.1764, 1.1417, 8.9080)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D56 #4C560D
analogous
#0D2856 #170D56 #3C0D56
triadic
#170D56 #56170D #0D5617
tetradic
#170D56 #560D28 #4C560D #0D563C
square
#170D56 #560D28 #4C560D #0D563C
split-complementary
#170D56 #563C0D #28560D
monochromatic
#07041B #090521 #170D56 #25158B #331DC0

Accessibility & contrast

On white

17.10
#170D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#170D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170D56
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D56#FFFFFF#000000##FFFFFF
##170D561.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170d56;
/* rgb */ color: rgb(23, 13, 86);
/* oklch */ color: oklch(23.8% 0.122 277.9);
Tailwind
colors: {
  custom: {
    50: '#5f4e87',
    500: '#170d56',
    950: '#000000',
  },
}
SCSS
$custom: #170d56;
$custom-light: #5f4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#170d56",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 248.219,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2382,
    "c": 0.1219,
    "h": 277.9
  },
  "luminance": 0.01142
}

Semantic roles & 50–950 ramp

primary
#170D56
secondary
#83912E
accent
#F037D7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #170D56

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

Preview Lab → · Contrast checker → · Palette generator →

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