#171A47#171A47

#171A47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.083 H 275.6°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#171A47
RGBrgb(23, 26, 71)
HSLhsl(236, 51%, 18%)
HSVhsv(236, 68%, 28%)
CMYKcmyk(67.6%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.79, 14.93, -28.72)
CIE-LCHlch(11.79, 32.37, 297.46°)
OKLaboklab(24.55% 0.0081 -0.0825)
OKLCHoklch(24.55% 0.083 275.6)
XYZxyz(1.8597, 1.3757, 6.1276)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A47 #474417
analogous
#173247 #171A47 #2C1747
triadic
#171A47 #47171A #1A4717
tetradic
#171A47 #471732 #474417 #17472C
square
#171A47 #471732 #474417 #17472C
split-complementary
#171A47 #472C17 #324717
monochromatic
#070817 #080919 #171A47 #262B75 #353CA3

Accessibility & contrast

On white

16.47
#171A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#171A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A47
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A47#FFFFFF#000000##FFFFFF
##171A471.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171a47;
/* rgb */ color: rgb(23, 26, 71);
/* oklch */ color: oklch(24.6% 0.083 275.6);
Tailwind
colors: {
  custom: {
    50: '#5a567b',
    500: '#171a47',
    950: '#000000',
  },
}
SCSS
$custom: #171a47;
$custom-light: #5a567b;
$custom-dark: #000000;
JSON
{
  "hex": "#171a47",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 236.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24553,
    "c": 0.08286,
    "h": 275.6
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#171A47
secondary
#7E7A3C
accent
#D24DDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #171A47

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

Preview Lab → · Contrast checker → · Palette generator →

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