#170D50#170D50

#170D50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.1% C 0.114 H 279.4°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#170D50
RGBrgb(23, 13, 80)
HSLhsl(249, 72%, 18%)
HSVhsv(249, 84%, 31%)
CMYKcmyk(71.2%, 83.7%, 0%, 68.6%)
CIE-LABlab(9.39, 27.30, -38.88)
CIE-LCHlch(9.39, 47.51, 305.08°)
OKLaboklab(23.1% 0.0187 -0.1123)
OKLCHoklch(23.1% 0.114 279.4)
XYZxyz(1.9448, 1.0490, 7.6879)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D50 #46500D
analogous
#0D2450 #170D50 #380D50
triadic
#170D50 #50170D #0D5017
tetradic
#170D50 #500D24 #46500D #0D5038
square
#170D50 #500D24 #46500D #0D5038
split-complementary
#170D50 #50380D #24500D
monochromatic
#08041A #08041B #170D50 #261685 #351EB9

Accessibility & contrast

On white

17.36
#170D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170D50
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D50#FFFFFF#000000##FFFFFF
##170D501.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #170d50;
/* rgb */ color: rgb(23, 13, 80);
/* oklch */ color: oklch(23.1% 0.114 279.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d82',
    500: '#170d50',
    950: '#000000',
  },
}
SCSS
$custom: #170d50;
$custom-light: #5e4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#170d50",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 248.955,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23096,
    "c": 0.1138,
    "h": 279.4
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#170D50
secondary
#7D8B2E
accent
#EF39D4
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #170D50

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

Preview Lab → · Contrast checker → · Palette generator →

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