#171A3D#171A3D

#171A3D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.066 H 276.4°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#171A3D
RGBrgb(23, 26, 61)
HSLhsl(235, 45%, 16%)
HSVhsv(235, 62%, 24%)
CMYKcmyk(62.3%, 57.4%, 0%, 76.1%)
CIE-LABlab(10.98, 10.92, -23.01)
CIE-LCHlch(10.98, 25.47, 295.38°)
OKLaboklab(23.68% 0.0074 -0.0657)
OKLCHoklch(23.68% 0.066 276.4)
XYZxyz(1.5648, 1.2578, 4.5743)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171A3D #3D3A17
analogous
#172D3D #171A3D #27173D
triadic
#171A3D #3D171A #1A3D17
tetradic
#171A3D #3D172D #3D3A17 #173D27
square
#171A3D #3D172D #3D3A17 #173D27
split-complementary
#171A3D #3D2717 #2D3D17
monochromatic
#080916 #080916 #171A3D #282D69 #394096

Accessibility & contrast

On white

16.78
#171A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171A3D
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171A3D#FFFFFF#000000##FFFFFF
##171A3D1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091F3E
Deuteranopia (green-blind)
#051C3C
Tritanopia (blue-blind)
#052228
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171a3d;
/* rgb */ color: rgb(23, 26, 61);
/* oklch */ color: oklch(23.7% 0.066 276.4);
Tailwind
colors: {
  custom: {
    50: '#585673',
    500: '#171a3d',
    950: '#000000',
  },
}
SCSS
$custom: #171a3d;
$custom-light: #585673;
$custom-dark: #000000;
JSON
{
  "hex": "#171a3d",
  "rgb": {
    "r": 23,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 235.263,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23679,
    "c": 0.0661,
    "h": 276.4
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#171A3D
secondary
#746F3C
accent
#CB53D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #171A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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