#171E59#171E59

#171E59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.105 H 272.1°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#171E59
RGBrgb(23, 30, 89)
HSLhsl(234, 59%, 22%)
HSVhsv(234, 74%, 35%)
CMYKcmyk(74.2%, 66.3%, 0%, 65.1%)
CIE-LABlab(14.58, 19.24, -36.49)
CIE-LCHlch(14.58, 41.26, 297.80°)
OKLaboklab(27.12% 0.0039 -0.1053)
OKLCHoklch(27.12% 0.105 272.1)
XYZxyz(2.6202, 1.8317, 9.6647)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E59 #595217
analogous
#173F59 #171E59 #311759
triadic
#171E59 #59171E #1E5917
tetradic
#171E59 #59173F #595217 #175931
square
#171E59 #59173F #595217 #175931
split-complementary
#171E59 #593117 #3F5917
monochromatic
#060818 #0A0E28 #171E59 #242E8A #303FBA

Accessibility & contrast

On white

15.37
#171E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#171E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E59
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E59#FFFFFF#000000##FFFFFF
##171E591.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171e59;
/* rgb */ color: rgb(23, 30, 89);
/* oklch */ color: oklch(27.1% 0.105 272.1);
Tailwind
colors: {
  custom: {
    50: '#5e5988',
    500: '#171e59',
    950: '#000000',
  },
}
SCSS
$custom: #171e59;
$custom-light: #5e5988;
$custom-dark: #000000;
JSON
{
  "hex": "#171e59",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 233.636,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27124,
    "c": 0.10535,
    "h": 272.1
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#171E59
secondary
#90873C
accent
#D246E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #171E59

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

Preview Lab → · Contrast checker → · Palette generator →

#171E59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva