#171B3E#171B3E

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

Color values

HEX#171B3E
RGBrgb(23, 27, 62)
HSLhsl(234, 46%, 17%)
HSVhsv(234, 63%, 24%)
CMYKcmyk(62.9%, 56.5%, 0%, 75.7%)
CIE-LABlab(11.37, 10.55, -23.09)
CIE-LCHlch(11.37, 25.39, 294.56°)
OKLaboklab(24% 0.0062 -0.0659)
OKLCHoklch(24% 0.066 275.3)
XYZxyz(1.6145, 1.3137, 4.7250)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171B3E #3E3A17
analogous
#172F3E #171B3E #27173E
triadic
#171B3E #3E171B #1B3E17
tetradic
#171B3E #3E172F #3E3A17 #173E27
square
#171B3E #3E172F #3E3A17 #173E27
split-complementary
#171B3E #3E2717 #2F3E17
monochromatic
#080A16 #080A16 #171B3E #282E6B #384297

Accessibility & contrast

On white

16.63
#171B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#171B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171B3E
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171B3E#FFFFFF#000000##FFFFFF
##171B3E1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203F
Deuteranopia (green-blind)
#051D3D
Tritanopia (blue-blind)
#042329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171b3e;
/* rgb */ color: rgb(23, 27, 62);
/* oklch */ color: oklch(24.0% 0.066 275.3);
Tailwind
colors: {
  custom: {
    50: '#585773',
    500: '#171b3e',
    950: '#000000',
  },
}
SCSS
$custom: #171b3e;
$custom-light: #585773;
$custom-dark: #000000;
JSON
{
  "hex": "#171b3e",
  "rgb": {
    "r": 23,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 233.846,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24001,
    "c": 0.06619,
    "h": 275.3
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#171B3E
secondary
#756F3C
accent
#C852D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #171B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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