#171D3D#171D3D

#171D3D is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.4% C 0.061 H 273.1°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#171D3D
RGBrgb(23, 29, 61)
HSLhsl(231, 45%, 16%)
HSVhsv(231, 62%, 24%)
CMYKcmyk(62.3%, 52.5%, 0%, 76.1%)
CIE-LABlab(11.94, 8.62, -21.47)
CIE-LCHlch(11.94, 23.13, 291.88°)
OKLaboklab(24.41% 0.0033 -0.0611)
OKLCHoklch(24.41% 0.061 273.1)
XYZxyz(1.6347, 1.3977, 4.5976)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D3D #3D3717
analogous
#17303D #171D3D #24173D
triadic
#171D3D #3D171D #1D3D17
tetradic
#171D3D #3D1730 #3D3717 #173D24
square
#171D3D #3D1730 #3D3717 #173D24
split-complementary
#171D3D #3D2417 #303D17
monochromatic
#080B16 #080B16 #171D3D #283269 #394796

Accessibility & contrast

On white

16.41
#171D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171D3D
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D3D#FFFFFF#000000##FFFFFF
##171D3D1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#05242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171d3d;
/* rgb */ color: rgb(23, 29, 61);
/* oklch */ color: oklch(24.4% 0.061 273.1);
Tailwind
colors: {
  custom: {
    50: '#585873',
    500: '#171d3d',
    950: '#000000',
  },
}
SCSS
$custom: #171d3d;
$custom-light: #585873;
$custom-dark: #000000;
JSON
{
  "hex": "#171d3d",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 230.526,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24411,
    "c": 0.0612,
    "h": 273.1
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#171D3D
secondary
#746B3C
accent
#C053D5
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030308
muted
#78787B

Preview Lab

Preview with #171D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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