#171A48#171A48

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

Color values

HEX#171A48
RGBrgb(23, 26, 72)
HSLhsl(236, 52%, 19%)
HSVhsv(236, 68%, 28%)
CMYKcmyk(68.1%, 63.9%, 0%, 71.8%)
CIE-LABlab(11.88, 15.33, -29.27)
CIE-LCHlch(11.88, 33.04, 297.64°)
OKLaboklab(24.65% 0.0081 -0.0841)
OKLCHoklch(24.65% 0.084 275.5)
XYZxyz(1.8921, 1.3887, 6.2980)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A48 #484517
analogous
#173248 #171A48 #2C1748
triadic
#171A48 #48171A #1A4817
tetradic
#171A48 #481732 #484517 #17482C
square
#171A48 #481732 #484517 #17482C
split-complementary
#171A48 #482C17 #324817
monochromatic
#070817 #08091A #171A48 #262B76 #353BA5

Accessibility & contrast

On white

16.43
#171A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171A48
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A48#FFFFFF#000000##FFFFFF
##171A481.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#00252E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171a48;
/* rgb */ color: rgb(23, 26, 72);
/* oklch */ color: oklch(24.6% 0.084 275.5);
Tailwind
colors: {
  custom: {
    50: '#5a567b',
    500: '#171a48',
    950: '#000000',
  },
}
SCSS
$custom: #171a48;
$custom-light: #5a567b;
$custom-dark: #000000;
JSON
{
  "hex": "#171a48",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 236.327,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24645,
    "c": 0.08449,
    "h": 275.5
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #171A48

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

Preview Lab → · Contrast checker → · Palette generator →

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