#170E4D#170E4D

#170E4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.109 H 280.0°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#170E4D
RGBrgb(23, 14, 77)
HSLhsl(249, 69%, 18%)
HSVhsv(249, 82%, 30%)
CMYKcmyk(70.1%, 81.8%, 0%, 69.8%)
CIE-LABlab(9.25, 25.63, -37.04)
CIE-LCHlch(9.25, 45.04, 304.68°)
OKLaboklab(22.89% 0.0188 -0.1069)
OKLCHoklch(22.89% 0.109 280)
XYZxyz(1.8495, 1.0319, 7.1215)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E4D #444D0E
analogous
#0E254D #170E4D #360E4D
triadic
#170E4D #4D170E #0E4D17
tetradic
#170E4D #4D0E25 #444D0E #0E4D36
square
#170E4D #4D0E25 #444D0E #0E4D36
split-complementary
#170E4D #4D360E #254D0E
monochromatic
#08051A #08051A #170E4D #261781 #3621B5

Accessibility & contrast

On white

17.41
#170E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#170E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E4D
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E4D#FFFFFF#000000##FFFFFF
##170E4D1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170e4d;
/* rgb */ color: rgb(23, 14, 77);
/* oklch */ color: oklch(22.9% 0.109 280.0);
Tailwind
colors: {
  custom: {
    50: '#5d4e80',
    500: '#170e4d',
    950: '#000000',
  },
}
SCSS
$custom: #170e4d;
$custom-light: #5d4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#170e4d",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 248.571,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.10853,
    "h": 280
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#170E4D
secondary
#7B882F
accent
#EC3CD3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #170E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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