#171E4A#171E4A

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

Color values

HEX#171E4A
RGBrgb(23, 30, 74)
HSLhsl(232, 53%, 19%)
HSVhsv(232, 69%, 29%)
CMYKcmyk(68.9%, 59.5%, 0%, 71%)
CIE-LABlab(13.26, 13.13, -28.43)
CIE-LCHlch(13.26, 31.31, 294.79°)
OKLaboklab(25.73% 0.0036 -0.0816)
OKLCHoklch(25.73% 0.082 272.5)
XYZxyz(2.0532, 1.6049, 6.6788)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171E4A #4A4317
analogous
#17384A #171E4A #2A174A
triadic
#171E4A #4A171E #1E4A17
tetradic
#171E4A #4A1738 #4A4317 #174A2A
square
#171E4A #4A1738 #4A4317 #174A2A
split-complementary
#171E4A #4A2A17 #384A17
monochromatic
#070917 #080B1B #171E4A #263179 #3444A7

Accessibility & contrast

On white

15.90
#171E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171E4A
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171E4A#FFFFFF#000000##FFFFFF
##171E4A1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171e4a;
/* rgb */ color: rgb(23, 30, 74);
/* oklch */ color: oklch(25.7% 0.082 272.5);
Tailwind
colors: {
  custom: {
    50: '#5a597d',
    500: '#171e4a',
    950: '#000000',
  },
}
SCSS
$custom: #171e4a;
$custom-light: #5a597d;
$custom-dark: #000000;
JSON
{
  "hex": "#171e4a",
  "rgb": {
    "r": 23,
    "g": 30,
    "b": 74
  },
  "hsl": {
    "h": 231.765,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25728,
    "c": 0.08164,
    "h": 272.5
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#171E4A
secondary
#81783C
accent
#C84CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #171E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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