#170D58#170D58

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

Color values

HEX#170D58
RGBrgb(23, 13, 88)
HSLhsl(248, 74%, 20%)
HSVhsv(248, 85%, 35%)
CMYKcmyk(73.9%, 85.2%, 0%, 65.5%)
CIE-LABlab(10.37, 30.09, -42.74)
CIE-LCHlch(10.37, 52.27, 305.15°)
OKLaboklab(24.07% 0.0162 -0.1235)
OKLCHoklch(24.07% 0.125 277.5)
XYZxyz(2.2582, 1.1744, 9.3383)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D58 #4E580D
analogous
#0D2958 #170D58 #3D0D58
triadic
#170D58 #58170D #0D5817
tetradic
#170D58 #580D29 #4E580D #0D583D
square
#170D58 #580D29 #4E580D #0D583D
split-complementary
#170D58 #583D0D #29580D
monochromatic
#07041B #090523 #170D58 #25158D #331DC3

Accessibility & contrast

On white

17.00
#170D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170D58
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D58#FFFFFF#000000##FFFFFF
##170D581.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170d58;
/* rgb */ color: rgb(23, 13, 88);
/* oklch */ color: oklch(24.1% 0.125 277.5);
Tailwind
colors: {
  custom: {
    50: '#604e88',
    500: '#170d58',
    950: '#000000',
  },
}
SCSS
$custom: #170d58;
$custom-light: #604e88;
$custom-dark: #000000;
JSON
{
  "hex": "#170d58",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 248,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24065,
    "c": 0.12455,
    "h": 277.5
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#170D58
secondary
#85932E
accent
#F137D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C

Preview Lab

Preview with #170D58

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

Preview Lab → · Contrast checker → · Palette generator →

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