#171A55#171A55

#171A55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.105 H 274.2°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#171A55
RGBrgb(23, 26, 85)
HSLhsl(237, 57%, 21%)
HSVhsv(237, 73%, 33%)
CMYKcmyk(72.9%, 69.4%, 0%, 66.7%)
CIE-LABlab(13.09, 20.53, -36.23)
CIE-LCHlch(13.09, 41.64, 299.54°)
OKLaboklab(25.91% 0.0076 -0.1045)
OKLCHoklch(25.91% 0.105 274.2)
XYZxyz(2.3619, 1.5766, 8.7724)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A55 #555217
analogous
#173955 #171A55 #331755
triadic
#171A55 #55171A #1A5517
tetradic
#171A55 #551739 #555217 #175533
square
#171A55 #551739 #555217 #175533
split-complementary
#171A55 #553317 #395517
monochromatic
#070718 #0A0B25 #171A55 #242985 #3137B5

Accessibility & contrast

On white

15.96
#171A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A55
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A55#FFFFFF#000000##FFFFFF
##171A551.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171a55;
/* rgb */ color: rgb(23, 26, 85);
/* oklch */ color: oklch(25.9% 0.105 274.2);
Tailwind
colors: {
  custom: {
    50: '#5e5685',
    500: '#171a55',
    950: '#000000',
  },
}
SCSS
$custom: #171a55;
$custom-light: #5e5685;
$custom-dark: #000000;
JSON
{
  "hex": "#171a55",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 237.097,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2591,
    "c": 0.10482,
    "h": 274.2
  },
  "luminance": 0.01577
}

Semantic roles & 50–950 ramp

primary
#171A55
secondary
#8C883C
accent
#D947E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #171A55

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

Preview Lab → · Contrast checker → · Palette generator →

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