#170E57#170E57

#170E57 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.122 H 277.5°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#170E57
RGBrgb(23, 14, 87)
HSLhsl(247, 72%, 20%)
HSVhsv(247, 84%, 34%)
CMYKcmyk(73.6%, 83.9%, 0%, 65.9%)
CIE-LABlab(10.44, 29.17, -41.94)
CIE-LCHlch(10.44, 51.09, 304.82°)
OKLaboklab(24.08% 0.016 -0.1212)
OKLCHoklch(24.08% 0.122 277.5)
XYZxyz(2.2301, 1.1842, 9.1260)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E57 #4E570E
analogous
#0E2A57 #170E57 #3B0E57
triadic
#170E57 #57170E #0E5717
tetradic
#170E57 #570E2A #4E570E #0E573B
square
#170E57 #570E2A #4E570E #0E573B
split-complementary
#170E57 #573B0E #2A570E
monochromatic
#07041A #090622 #170E57 #25168C #331FC0

Accessibility & contrast

On white

16.98
#170E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#170E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E57
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E57#FFFFFF#000000##FFFFFF
##170E571.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001956
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170e57;
/* rgb */ color: rgb(23, 14, 87);
/* oklch */ color: oklch(24.1% 0.122 277.5);
Tailwind
colors: {
  custom: {
    50: '#604e87',
    500: '#170e57',
    950: '#000000',
  },
}
SCSS
$custom: #170e57;
$custom-light: #604e87;
$custom-dark: #000000;
JSON
{
  "hex": "#170e57",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 247.397,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24079,
    "c": 0.12223,
    "h": 277.5
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#170E57
secondary
#859130
accent
#EF39D9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #170E57

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

Preview Lab → · Contrast checker → · Palette generator →

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