#170D53#170D53

#170D53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.118 H 278.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#170D53
RGBrgb(23, 13, 83)
HSLhsl(249, 73%, 19%)
HSVhsv(249, 84%, 33%)
CMYKcmyk(72.3%, 84.3%, 0%, 67.5%)
CIE-LABlab(9.75, 28.35, -40.35)
CIE-LCHlch(9.75, 49.31, 305.10°)
OKLaboklab(23.46% 0.0178 -0.1165)
OKLCHoklch(23.46% 0.118 278.7)
XYZxyz(2.0581, 1.0944, 8.2847)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D53 #49530D
analogous
#0D2653 #170D53 #3A0D53
triadic
#170D53 #53170D #0D5317
tetradic
#170D53 #530D26 #49530D #0D533A
square
#170D53 #530D26 #49530D #0D533A
split-complementary
#170D53 #533A0D #26530D
monochromatic
#07041A #08051E #170D53 #261588 #341EBD

Accessibility & contrast

On white

17.23
#170D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#170D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170D53
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D53#FFFFFF#000000##FFFFFF
##170D531.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #170d53;
/* rgb */ color: rgb(23, 13, 83);
/* oklch */ color: oklch(23.5% 0.118 278.7);
Tailwind
colors: {
  custom: {
    50: '#5f4d84',
    500: '#170d53',
    950: '#000000',
  },
}
SCSS
$custom: #170d53;
$custom-light: #5f4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#170d53",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 248.571,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23456,
    "c": 0.11788,
    "h": 278.7
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#170D53
secondary
#808E2E
accent
#F038D5
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #170D53

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

Preview Lab → · Contrast checker → · Palette generator →

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