#170F60#170F60

#170F60 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.133 H 275.5°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#170F60
RGBrgb(23, 15, 96)
HSLhsl(246, 73%, 22%)
HSVhsv(246, 84%, 38%)
CMYKcmyk(76%, 84.4%, 0%, 62.4%)
CIE-LABlab(11.74, 31.74, -45.85)
CIE-LCHlch(11.74, 55.76, 304.69°)
OKLaboklab(25.32% 0.0129 -0.1325)
OKLCHoklch(25.32% 0.133 275.5)
XYZxyz(2.6348, 1.3681, 11.1893)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170F60 #58600F
analogous
#0F3060 #170F60 #400F60
triadic
#170F60 #60170F #0F6017
tetradic
#170F60 #600F30 #58600F #0F6040
square
#170F60 #600F30 #58600F #0F6040
split-complementary
#170F60 #60400F #30600F
monochromatic
#06041A #0A072B #170F60 #241795 #3020CA

Accessibility & contrast

On white

16.49
#170F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#170F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170F60
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170F60#FFFFFF#000000##FFFFFF
##170F601.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002262
Deuteranopia (green-blind)
#001B5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #170f60;
/* rgb */ color: rgb(23, 15, 96);
/* oklch */ color: oklch(25.3% 0.133 275.5);
Tailwind
colors: {
  custom: {
    50: '#62508e',
    500: '#170f60',
    950: '#000000',
  },
}
SCSS
$custom: #170f60;
$custom-light: #62508e;
$custom-dark: #000000;
JSON
{
  "hex": "#170f60",
  "rgb": {
    "r": 23,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 245.926,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25316,
    "c": 0.13317,
    "h": 275.5
  },
  "luminance": 0.01368
}

Semantic roles & 50–950 ramp

primary
#170F60
secondary
#8F9932
accent
#F038DE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #170F60

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

Preview Lab → · Contrast checker → · Palette generator →

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