#170F47#170F47

#170F47 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.099 H 281.3°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#170F47
RGBrgb(23, 15, 71)
HSLhsl(249, 65%, 17%)
HSVhsv(249, 79%, 28%)
CMYKcmyk(67.6%, 78.9%, 0%, 72.2%)
CIE-LABlab(8.81, 22.81, -33.59)
CIE-LCHlch(8.81, 40.60, 304.18°)
OKLaboklab(22.38% 0.0194 -0.0968)
OKLCHoklch(22.38% 0.099 281.3)
XYZxyz(1.6611, 0.9786, 6.0614)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F47 #3F470F
analogous
#0F2347 #170F47 #330F47
triadic
#170F47 #47170F #0F4717
tetradic
#170F47 #470F23 #3F470F #0F4733
square
#170F47 #470F23 #3F470F #0F4733
split-complementary
#170F47 #47330F #23470F
monochromatic
#080519 #080519 #170F47 #271A7A #3824AC

Accessibility & contrast

On white

17.56
#170F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#170F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F47
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F47#FFFFFF#000000##FFFFFF
##170F471.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#001E29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #170f47;
/* rgb */ color: rgb(23, 15, 71);
/* oklch */ color: oklch(22.4% 0.099 281.3);
Tailwind
colors: {
  custom: {
    50: '#5b4e7b',
    500: '#170f47',
    950: '#000000',
  },
}
SCSS
$custom: #170f47;
$custom-light: #5b4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#170f47",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 248.571,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.22375,
    "c": 0.09874,
    "h": 281.3
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#170F47
secondary
#768130
accent
#E840D0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #170F47

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

Preview Lab → · Contrast checker → · Palette generator →

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