#170E55#170E55

#170E55 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.120 H 278.0°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#170E55
RGBrgb(23, 14, 85)
HSLhsl(248, 72%, 19%)
HSVhsv(248, 84%, 33%)
CMYKcmyk(72.9%, 83.5%, 0%, 66.7%)
CIE-LABlab(10.20, 28.48, -40.98)
CIE-LCHlch(10.20, 49.90, 304.80°)
OKLaboklab(23.84% 0.0166 -0.1184)
OKLCHoklch(23.84% 0.12 278)
XYZxyz(2.1496, 1.1519, 8.7016)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E55 #4C550E
analogous
#0E2955 #170E55 #3B0E55
triadic
#170E55 #55170E #0E5517
tetradic
#170E55 #550E29 #4C550E #0E553B
square
#170E55 #550E29 #4C550E #0E553B
split-complementary
#170E55 #553B0E #29550E
monochromatic
#07041A #090520 #170E55 #25178A #331FBE

Accessibility & contrast

On white

17.07
#170E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#170E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E55
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E55#FFFFFF#000000##FFFFFF
##170E551.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170e55;
/* rgb */ color: rgb(23, 14, 85);
/* oklch */ color: oklch(23.8% 0.120 278.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e86',
    500: '#170e55',
    950: '#000000',
  },
}
SCSS
$custom: #170e55;
$custom-light: #5f4e86;
$custom-dark: #000000;
JSON
{
  "hex": "#170e55",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 247.606,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23838,
    "c": 0.11953,
    "h": 278
  },
  "luminance": 0.01152
}

Semantic roles & 50–950 ramp

primary
#170E55
secondary
#838F30
accent
#EE39D7
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #170E55

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

Preview Lab → · Contrast checker → · Palette generator →

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