#171E5D#171E5D

#171E5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.111 H 271.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#171E5D
RGBrgb(23, 30, 93)
HSLhsl(234, 60%, 23%)
HSVhsv(234, 75%, 36%)
CMYKcmyk(75.3%, 67.7%, 0%, 63.5%)
CIE-LABlab(14.96, 20.85, -38.55)
CIE-LCHlch(14.96, 43.83, 298.41°)
OKLaboklab(27.52% 0.0037 -0.1113)
OKLCHoklch(27.52% 0.111 271.9)
XYZxyz(2.7927, 1.9007, 10.5735)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E5D #5D5617
analogous
#17415D #171E5D #33175D
triadic
#171E5D #5D171E #1E5D17
tetradic
#171E5D #5D1741 #5D5617 #175D33
square
#171E5D #5D1741 #5D5617 #175D33
split-complementary
#171E5D #5D3317 #415D17
monochromatic
#060819 #0B0E2C #171E5D #232E8E #2F3EBF

Accessibility & contrast

On white

15.22
#171E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171E5D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E5D#FFFFFF#000000##FFFFFF
##171E5D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171e5d;
/* rgb */ color: rgb(23, 30, 93);
/* oklch */ color: oklch(27.5% 0.111 271.9);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#171e5d',
    950: '#000000',
  },
}
SCSS
$custom: #171e5d;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#171e5d",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 234,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27521,
    "c": 0.11138,
    "h": 271.9
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#171E5D
secondary
#948B3C
accent
#D444E3
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #171E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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