#170F49#170F49

#170F49 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.102 H 280.8°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#170F49
RGBrgb(23, 15, 73)
HSLhsl(248, 66%, 17%)
HSVhsv(248, 79%, 29%)
CMYKcmyk(68.5%, 79.5%, 0%, 71.4%)
CIE-LABlab(9.03, 23.54, -34.63)
CIE-LCHlch(9.03, 41.87, 304.21°)
OKLaboklab(22.6% 0.019 -0.0998)
OKLCHoklch(22.6% 0.102 280.8)
XYZxyz(1.7264, 1.0047, 6.4050)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F49 #41490F
analogous
#0F2449 #170F49 #340F49
triadic
#170F49 #49170F #0F4917
tetradic
#170F49 #490F24 #41490F #0F4934
square
#170F49 #490F24 #41490F #0F4934
split-complementary
#170F49 #49340F #24490F
monochromatic
#080519 #080519 #170F49 #27197C #3724AF

Accessibility & contrast

On white

17.49
#170F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170F49
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F49#FFFFFF#000000##FFFFFF
##170F491.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170f49;
/* rgb */ color: rgb(23, 15, 73);
/* oklch */ color: oklch(22.6% 0.102 280.8);
Tailwind
colors: {
  custom: {
    50: '#5c4e7c',
    500: '#170f49',
    950: '#000000',
  },
}
SCSS
$custom: #170f49;
$custom-light: #5c4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#170f49",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 248.276,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22598,
    "c": 0.10164,
    "h": 280.8
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#170F49
secondary
#788330
accent
#E93FD1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #170F49

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

Preview Lab → · Contrast checker → · Palette generator →

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