#170F46#170F46

#170F46 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.097 H 281.7°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#170F46
RGBrgb(23, 15, 70)
HSLhsl(249, 65%, 17%)
HSVhsv(249, 79%, 27%)
CMYKcmyk(67.1%, 78.6%, 0%, 72.5%)
CIE-LABlab(8.70, 22.44, -33.06)
CIE-LCHlch(8.70, 39.96, 304.16°)
OKLaboklab(22.26% 0.0197 -0.0953)
OKLCHoklch(22.26% 0.097 281.7)
XYZxyz(1.6293, 0.9659, 5.8937)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F46 #3E460F
analogous
#0F2346 #170F46 #330F46
triadic
#170F46 #46170F #0F4617
tetradic
#170F46 #460F23 #3E460F #0F4633
square
#170F46 #460F23 #3E460F #0F4633
split-complementary
#170F46 #46330F #23460F
monochromatic
#080519 #080519 #170F46 #281A78 #3825AB

Accessibility & contrast

On white

17.60
#170F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#170F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F46
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F46#FFFFFF#000000##FFFFFF
##170F461.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170f46;
/* rgb */ color: rgb(23, 15, 70);
/* oklch */ color: oklch(22.3% 0.097 281.7);
Tailwind
colors: {
  custom: {
    50: '#5b4e7a',
    500: '#170f46',
    950: '#000000',
  },
}
SCSS
$custom: #170f46;
$custom-light: #5b4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#170f46",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 248.727,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22265,
    "c": 0.09728,
    "h": 281.7
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#170F46
secondary
#758030
accent
#E840CF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #170F46

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

Preview Lab → · Contrast checker → · Palette generator →

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