#171D3E#171D3E

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

Color values

HEX#171D3E
RGBrgb(23, 29, 62)
HSLhsl(231, 46%, 17%)
HSVhsv(231, 63%, 24%)
CMYKcmyk(62.9%, 53.2%, 0%, 75.7%)
CIE-LABlab(12.01, 9.02, -22.06)
CIE-LCHlch(12.01, 23.83, 292.24°)
OKLaboklab(24.49% 0.0035 -0.0628)
OKLCHoklch(24.49% 0.063 273.1)
XYZxyz(1.6619, 1.4086, 4.7408)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D3E #3E3817
analogous
#17313E #171D3E #25173E
triadic
#171D3E #3E171D #1D3E17
tetradic
#171D3E #3E1731 #3E3817 #173E25
square
#171D3E #3E1731 #3E3817 #173E25
split-complementary
#171D3E #3E2517 #313E17
monochromatic
#080A16 #080A16 #171D3E #28326B #384797

Accessibility & contrast

On white

16.38
#171D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171D3E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D3E#FFFFFF#000000##FFFFFF
##171D3E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#04242A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171d3e;
/* rgb */ color: rgb(23, 29, 62);
/* oklch */ color: oklch(24.5% 0.063 273.1);
Tailwind
colors: {
  custom: {
    50: '#585873',
    500: '#171d3e',
    950: '#000000',
  },
}
SCSS
$custom: #171d3e;
$custom-light: #585873;
$custom-dark: #000000;
JSON
{
  "hex": "#171d3e",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 230.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24489,
    "c": 0.06294,
    "h": 273.1
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#171D3E
secondary
#756C3C
accent
#C152D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #171D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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