#170F55#170F55

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

Color values

HEX#170F55
RGBrgb(23, 15, 85)
HSLhsl(247, 70%, 20%)
HSVhsv(247, 82%, 33%)
CMYKcmyk(72.9%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.41, 27.88, -40.64)
CIE-LCHlch(10.41, 49.28, 304.46°)
OKLaboklab(23.98% 0.0159 -0.1174)
OKLCHoklch(23.98% 0.118 277.7)
XYZxyz(2.1633, 1.1795, 8.7062)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F55 #4D550F
analogous
#0F2A55 #170F55 #3A0F55
triadic
#170F55 #55170F #0F5517
tetradic
#170F55 #550F2A #4D550F #0F553A
square
#170F55 #550F2A #4D550F #0F553A
split-complementary
#170F55 #553A0F #2A550F
monochromatic
#07051A #090621 #170F55 #251889 #3321BD

Accessibility & contrast

On white

16.99
#170F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170F55
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F55#FFFFFF#000000##FFFFFF
##170F551.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170f55;
/* rgb */ color: rgb(23, 15, 85);
/* oklch */ color: oklch(24.0% 0.118 277.7);
Tailwind
colors: {
  custom: {
    50: '#5f4f86',
    500: '#170f55',
    950: '#000000',
  },
}
SCSS
$custom: #170f55;
$custom-light: #5f4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#170f55",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 246.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23984,
    "c": 0.11848,
    "h": 277.7
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#170F55
secondary
#848F31
accent
#ED3BD8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #170F55

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

Preview Lab → · Contrast checker → · Palette generator →

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