#171859#171859

#171859 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.113 H 274.5°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#171859
RGBrgb(23, 24, 89)
HSLhsl(239, 59%, 22%)
HSVhsv(239, 74%, 35%)
CMYKcmyk(74.2%, 73%, 0%, 65.1%)
CIE-LABlab(12.96, 23.51, -39.14)
CIE-LCHlch(12.96, 45.66, 301.00°)
OKLaboklab(25.94% 0.0088 -0.1131)
OKLCHoklch(25.94% 0.113 274.5)
XYZxyz(2.4826, 1.5565, 9.6189)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171859 #595817
analogous
#173959 #171859 #371759
triadic
#171859 #591718 #185917
tetradic
#171859 #591739 #595817 #175937
square
#171859 #591739 #595817 #175937
split-complementary
#171859 #593717 #395917
monochromatic
#060718 #0A0B28 #171859 #24258A #3032BA

Accessibility & contrast

On white

16.01
#171859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171859
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171859#FFFFFF#000000##FFFFFF
##1718591.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171859;
/* rgb */ color: rgb(23, 24, 89);
/* oklch */ color: oklch(25.9% 0.113 274.5);
Tailwind
colors: {
  custom: {
    50: '#5f5589',
    500: '#171859',
    950: '#000000',
  },
}
SCSS
$custom: #171859;
$custom-light: #5f5589;
$custom-dark: #000000;
JSON
{
  "hex": "#171859",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 239.091,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25943,
    "c": 0.1134,
    "h": 274.5
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#171859
secondary
#908F3C
accent
#E046E2
background
#F5F4F8
surface
#EAE8F0
border
#C6C4CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #171859

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

Preview Lab → · Contrast checker → · Palette generator →

#171859 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva