#170E5B#170E5B

#170E5B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.128 H 276.7°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#170E5B
RGBrgb(23, 14, 91)
HSLhsl(247, 73%, 21%)
HSVhsv(247, 85%, 36%)
CMYKcmyk(74.7%, 84.6%, 0%, 64.3%)
CIE-LABlab(10.93, 30.57, -43.84)
CIE-LCHlch(10.93, 53.44, 304.89°)
OKLaboklab(24.57% 0.0148 -0.1267)
OKLCHoklch(24.57% 0.128 276.7)
XYZxyz(2.3981, 1.2513, 10.0107)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E5B #525B0E
analogous
#0E2B5B #170E5B #3D0E5B
triadic
#170E5B #5B170E #0E5B17
tetradic
#170E5B #5B0E2B #525B0E #0E5B3D
square
#170E5B #5B0E2B #525B0E #0E5B3D
split-complementary
#170E5B #5B3D0E #2B5B0E
monochromatic
#07041B #0A0626 #170E5B #241690 #321EC5

Accessibility & contrast

On white

16.79
#170E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#170E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E5B
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E5B#FFFFFF#000000##FFFFFF
##170E5B1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#001A5A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #170e5b;
/* rgb */ color: rgb(23, 14, 91);
/* oklch */ color: oklch(24.6% 0.128 276.7);
Tailwind
colors: {
  custom: {
    50: '#614f8a',
    500: '#170e5b',
    950: '#000000',
  },
}
SCSS
$custom: #170e5b;
$custom-light: #614f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#170e5b",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 91
  },
  "hsl": {
    "h": 247.013,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24567,
    "c": 0.12755,
    "h": 276.7
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#170E5B
secondary
#899530
accent
#F038DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #170E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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