#170E56#170E56

#170E56 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.0% C 0.121 H 277.7°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#170E56
RGBrgb(23, 14, 86)
HSLhsl(248, 72%, 20%)
HSVhsv(248, 84%, 34%)
CMYKcmyk(73.3%, 83.7%, 0%, 66.3%)
CIE-LABlab(10.32, 28.83, -41.46)
CIE-LCHlch(10.32, 50.50, 304.81°)
OKLaboklab(23.96% 0.0163 -0.1198)
OKLCHoklch(23.96% 0.121 277.7)
XYZxyz(2.1896, 1.1679, 8.9123)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E56 #4D560E
analogous
#0E2956 #170E56 #3B0E56
triadic
#170E56 #56170E #0E5617
tetradic
#170E56 #560E29 #4D560E #0E563B
square
#170E56 #560E29 #4D560E #0E563B
split-complementary
#170E56 #563B0E #29560E
monochromatic
#07041A #090521 #170E56 #25178B #331FBF

Accessibility & contrast

On white

17.02
#170E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E56
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E56#FFFFFF#000000##FFFFFF
##170E561.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170e56;
/* rgb */ color: rgb(23, 14, 86);
/* oklch */ color: oklch(24.0% 0.121 277.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e87',
    500: '#170e56',
    950: '#000000',
  },
}
SCSS
$custom: #170e56;
$custom-light: #5f4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#170e56",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 247.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23958,
    "c": 0.12088,
    "h": 277.7
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#170E56
secondary
#849030
accent
#EF39D8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #170E56

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

Preview Lab → · Contrast checker → · Palette generator →

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