#170D55#170D55

#170D55 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.121 H 278.2°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#170D55
RGBrgb(23, 13, 85)
HSLhsl(248, 73%, 19%)
HSVhsv(248, 85%, 33%)
CMYKcmyk(72.9%, 84.7%, 0%, 66.7%)
CIE-LABlab(10.00, 29.05, -41.31)
CIE-LCHlch(10.00, 50.50, 305.12°)
OKLaboklab(23.7% 0.0172 -0.1193)
OKLCHoklch(23.7% 0.121 278.2)
XYZxyz(2.1364, 1.1257, 8.6973)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D55 #4B550D
analogous
#0D2755 #170D55 #3B0D55
triadic
#170D55 #55170D #0D5517
tetradic
#170D55 #550D27 #4B550D #0D553B
square
#170D55 #550D27 #4B550D #0D553B
split-complementary
#170D55 #553B0D #27550D
monochromatic
#07041B #090520 #170D55 #25158A #341DBF

Accessibility & contrast

On white

17.14
#170D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170D55
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D55#FFFFFF#000000##FFFFFF
##170D551.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E57
Deuteranopia (green-blind)
#001854
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #170d55;
/* rgb */ color: rgb(23, 13, 85);
/* oklch */ color: oklch(23.7% 0.121 278.2);
Tailwind
colors: {
  custom: {
    50: '#5f4e86',
    500: '#170d55',
    950: '#000000',
  },
}
SCSS
$custom: #170d55;
$custom-light: #5f4e86;
$custom-dark: #000000;
JSON
{
  "hex": "#170d55",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 248.333,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23698,
    "c": 0.12056,
    "h": 278.2
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#170D55
secondary
#82902E
accent
#F038D7
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #170D55

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

Preview Lab → · Contrast checker → · Palette generator →

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