#170E5A#170E5A

#170E5A is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.4% C 0.126 H 276.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#170E5A
RGBrgb(23, 14, 90)
HSLhsl(247, 73%, 20%)
HSVhsv(247, 84%, 35%)
CMYKcmyk(74.4%, 84.4%, 0%, 64.7%)
CIE-LABlab(10.81, 30.22, -43.36)
CIE-LCHlch(10.81, 52.86, 304.87°)
OKLaboklab(24.44% 0.0151 -0.1253)
OKLCHoklch(24.44% 0.126 276.9)
XYZxyz(2.3552, 1.2342, 9.7850)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E5A #515A0E
analogous
#0E2B5A #170E5A #3D0E5A
triadic
#170E5A #5A170E #0E5A17
tetradic
#170E5A #5A0E2B #515A0E #0E5A3D
square
#170E5A #5A0E2B #515A0E #0E5A3D
split-complementary
#170E5A #5A3D0E #2B5A0E
monochromatic
#07041A #090625 #170E5A #25168F #321EC4

Accessibility & contrast

On white

16.84
#170E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E5A
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E5A#FFFFFF#000000##FFFFFF
##170E5A1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170e5a;
/* rgb */ color: rgb(23, 14, 90);
/* oklch */ color: oklch(24.4% 0.126 276.9);
Tailwind
colors: {
  custom: {
    50: '#604e8a',
    500: '#170e5a',
    950: '#000000',
  },
}
SCSS
$custom: #170e5a;
$custom-light: #604e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#170e5a",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 247.105,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24444,
    "c": 0.12623,
    "h": 276.9
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#170E5A
secondary
#889430
accent
#F038DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #170E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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