#170D4A#170D4A

#170D4A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.105 H 281.1°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#170D4A
RGBrgb(23, 13, 74)
HSLhsl(250, 70%, 17%)
HSVhsv(250, 82%, 29%)
CMYKcmyk(68.9%, 82.4%, 0%, 71%)
CIE-LABlab(8.69, 25.17, -35.88)
CIE-LCHlch(8.69, 43.83, 305.05°)
OKLaboklab(22.39% 0.0204 -0.1035)
OKLCHoklch(22.39% 0.106 281.1)
XYZxyz(1.7329, 0.9643, 6.5720)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D4A #404A0D
analogous
#0D224A #170D4A #360D4A
triadic
#170D4A #4A170D #0D4A17
tetradic
#170D4A #4A0D22 #404A0D #0D4A36
square
#170D4A #4A0D22 #404A0D #0D4A36
split-complementary
#170D4A #4A360D #224A0D
monochromatic
#08051A #08051A #170D4A #27167E #371FB2

Accessibility & contrast

On white

17.61
#170D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#170D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170D4A
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D4A#FFFFFF#000000##FFFFFF
##170D4A1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #170d4a;
/* rgb */ color: rgb(23, 13, 74);
/* oklch */ color: oklch(22.4% 0.105 281.1);
Tailwind
colors: {
  custom: {
    50: '#5c4d7d',
    500: '#170d4a',
    950: '#000000',
  },
}
SCSS
$custom: #170d4a;
$custom-light: #5c4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#170d4a",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 249.836,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22391,
    "c": 0.1055,
    "h": 281.1
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#170D4A
secondary
#77852E
accent
#ED3BD0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #170D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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