#170E5D#170E5D

#170E5D is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.130 H 276.3°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#170E5D
RGBrgb(23, 14, 93)
HSLhsl(247, 74%, 21%)
HSVhsv(247, 85%, 36%)
CMYKcmyk(75.3%, 84.9%, 0%, 63.5%)
CIE-LABlab(11.18, 31.26, -44.77)
CIE-LCHlch(11.18, 54.60, 304.92°)
OKLaboklab(24.81% 0.0142 -0.1294)
OKLCHoklch(24.81% 0.13 276.3)
XYZxyz(2.4855, 1.2863, 10.4711)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E5D #545D0E
analogous
#0E2C5D #170E5D #3E0E5D
triadic
#170E5D #5D170E #0E5D17
tetradic
#170E5D #5D0E2C #545D0E #0E5D3E
square
#170E5D #5D0E2C #545D0E #0E5D3E
split-complementary
#170E5D #5D3E0E #2C5D0E
monochromatic
#07041B #0A0628 #170E5D #241692 #311EC7

Accessibility & contrast

On white

16.70
#170E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#170E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E5D
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E5D#FFFFFF#000000##FFFFFF
##170E5D1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215F
Deuteranopia (green-blind)
#001A5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #170e5d;
/* rgb */ color: rgb(23, 14, 93);
/* oklch */ color: oklch(24.8% 0.130 276.3);
Tailwind
colors: {
  custom: {
    50: '#614f8c',
    500: '#170e5d',
    950: '#000000',
  },
}
SCSS
$custom: #170e5d;
$custom-light: #614f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#170e5d",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 246.835,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24813,
    "c": 0.13019,
    "h": 276.3
  },
  "luminance": 0.01287
}

Semantic roles & 50–950 ramp

primary
#170E5D
secondary
#8B9730
accent
#F037DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #170E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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