#171A3E#171A3E

#171A3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.068 H 276.3°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#171A3E
RGBrgb(23, 26, 62)
HSLhsl(235, 46%, 17%)
HSVhsv(235, 63%, 24%)
CMYKcmyk(62.9%, 58.1%, 0%, 75.7%)
CIE-LABlab(11.05, 11.32, -23.60)
CIE-LCHlch(11.05, 26.17, 295.62°)
OKLaboklab(23.76% 0.0075 -0.0674)
OKLCHoklch(23.76% 0.068 276.3)
XYZxyz(1.5920, 1.2686, 4.7175)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A3E #3E3B17
analogous
#172E3E #171A3E #28173E
triadic
#171A3E #3E171A #1A3E17
tetradic
#171A3E #3E172E #3E3B17 #173E28
square
#171A3E #3E172E #3E3B17 #173E28
split-complementary
#171A3E #3E2817 #2E3E17
monochromatic
#080916 #080916 #171A3E #282D6B #383F97

Accessibility & contrast

On white

16.75
#171A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#171A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171A3E
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A3E#FFFFFF#000000##FFFFFF
##171A3E1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#042229
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171a3e;
/* rgb */ color: rgb(23, 26, 62);
/* oklch */ color: oklch(23.8% 0.068 276.3);
Tailwind
colors: {
  custom: {
    50: '#585673',
    500: '#171a3e',
    950: '#000000',
  },
}
SCSS
$custom: #171a3e;
$custom-light: #585673;
$custom-dark: #000000;
JSON
{
  "hex": "#171a3e",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 235.385,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23762,
    "c": 0.06783,
    "h": 276.3
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#171A3E
secondary
#75703C
accent
#CB52D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #171A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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