#171D43#171D43

#171D43 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.072 H 273.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#171D43
RGBrgb(23, 29, 67)
HSLhsl(232, 49%, 18%)
HSVhsv(232, 66%, 26%)
CMYKcmyk(65.7%, 56.7%, 0%, 73.7%)
CIE-LABlab(12.39, 11.04, -24.97)
CIE-LCHlch(12.39, 27.30, 293.85°)
OKLaboklab(24.9% 0.0042 -0.0714)
OKLCHoklch(24.9% 0.072 273.3)
XYZxyz(1.8055, 1.4660, 5.4969)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171D43 #433D17
analogous
#173343 #171D43 #271743
triadic
#171D43 #43171D #1D4317
tetradic
#171D43 #431733 #433D17 #174327
square
#171D43 #431733 #433D17 #174327
split-complementary
#171D43 #432717 #334317
monochromatic
#080A17 #080A17 #171D43 #273171 #36449E

Accessibility & contrast

On white

16.24
#171D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171D43
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171D43#FFFFFF#000000##FFFFFF
##171D431.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092244
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171d43;
/* rgb */ color: rgb(23, 29, 67);
/* oklch */ color: oklch(24.9% 0.072 273.3);
Tailwind
colors: {
  custom: {
    50: '#595877',
    500: '#171d43',
    950: '#000000',
  },
}
SCSS
$custom: #171d43;
$custom-light: #595877;
$custom-dark: #000000;
JSON
{
  "hex": "#171d43",
  "rgb": {
    "r": 23,
    "g": 29,
    "b": 67
  },
  "hsl": {
    "h": 231.818,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24895,
    "c": 0.07152,
    "h": 273.3
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#171D43
secondary
#7A723C
accent
#C64FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171D43

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

Preview Lab → · Contrast checker → · Palette generator →

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