#171B36#171B36

#171B36 is a very dark, muted blue. Relative luminance 0.012; OKLCH L 23.4% C 0.052 H 275.3°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#171B36
RGBrgb(23, 27, 54)
HSLhsl(232, 40%, 15%)
HSVhsv(232, 57%, 21%)
CMYKcmyk(57.4%, 50%, 0%, 78.8%)
CIE-LABlab(10.79, 7.39, -18.31)
CIE-LCHlch(10.79, 19.74, 291.99°)
OKLaboklab(23.38% 0.0048 -0.0519)
OKLCHoklch(23.38% 0.052 275.3)
XYZxyz(1.4109, 1.2323, 3.6528)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B36 #363217
analogous
#172A36 #171B36 #221736
triadic
#171B36 #36171B #1B3617
tetradic
#171B36 #36172A #363217 #173622
square
#171B36 #36172A #363217 #173622
split-complementary
#171B36 #362217 #2A3617
monochromatic
#090B15 #090B15 #171B36 #293061 #3C468C

Accessibility & contrast

On white

16.85
#171B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171B36
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B36#FFFFFF#000000##FFFFFF
##171B361.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101E37
Deuteranopia (green-blind)
#0D1C35
Tritanopia (blue-blind)
#0B2125
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171b36;
/* rgb */ color: rgb(23, 27, 54);
/* oklch */ color: oklch(23.4% 0.052 275.3);
Tailwind
colors: {
  custom: {
    50: '#56576d',
    500: '#171b36',
    950: '#000000',
  },
}
SCSS
$custom: #171b36;
$custom-light: #56576d;
$custom-dark: #000000;
JSON
{
  "hex": "#171b36",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 232.258,
    "s": 40.26,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23375,
    "c": 0.05209,
    "h": 275.3
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#171B36
secondary
#6C663D
accent
#C158D0
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030307
muted
#78787A

Preview Lab

Preview with #171B36

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

Preview Lab → · Contrast checker → · Palette generator →

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