#171E4B#171E4B

#171E4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.083 H 272.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#171E4B
RGBrgb(23, 30, 75)
HSLhsl(232, 53%, 19%)
HSVhsv(232, 69%, 29%)
CMYKcmyk(69.3%, 60%, 0%, 70.6%)
CIE-LABlab(13.34, 13.54, -28.98)
CIE-LCHlch(13.34, 31.99, 295.04°)
OKLaboklab(25.82% 0.0037 -0.0832)
OKLCHoklch(25.82% 0.083 272.5)
XYZxyz(2.0872, 1.6185, 6.8577)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E4B #4B4417
analogous
#17384B #171E4B #2A174B
triadic
#171E4B #4B171E #1E4B17
tetradic
#171E4B #4B1738 #4B4417 #174B2A
square
#171E4B #4B1738 #4B4417 #174B2A
split-complementary
#171E4B #4B2A17 #384B17
monochromatic
#070917 #090B1C #171E4B #25317A #3443A9

Accessibility & contrast

On white

15.86
#171E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171E4B
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E4B#FFFFFF#000000##FFFFFF
##171E4B1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171e4b;
/* rgb */ color: rgb(23, 30, 75);
/* oklch */ color: oklch(25.8% 0.083 272.5);
Tailwind
colors: {
  custom: {
    50: '#5b597e',
    500: '#171e4b',
    950: '#000000',
  },
}
SCSS
$custom: #171e4b;
$custom-light: #5b597e;
$custom-dark: #000000;
JSON
{
  "hex": "#171e4b",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 231.923,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25816,
    "c": 0.08328,
    "h": 272.5
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#171E4B
secondary
#82793C
accent
#C94BDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #171E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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