#171689#171689

#171689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.179 H 270.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#171689
RGBrgb(23, 22, 137)
HSLhsl(241, 72%, 31%)
HSVhsv(241, 84%, 54%)
CMYKcmyk(83.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.19, 41.86, -61.66)
CIE-LCHlch(18.19, 74.53, 304.17°)
OKLaboklab(31.3% 0.0002 -0.1785)
OKLCHoklch(31.3% 0.179 270.1)
XYZxyz(5.1541, 2.5615, 23.8848)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171689 #888916
analogous
#164E89 #171689 #501689
triadic
#171689 #891716 #168917
tetradic
#171689 #89164E #888916 #168950
square
#171689 #89164E #888916 #168950
split-complementary
#171689 #895016 #4E8916
monochromatic
#050520 #0E0E54 #171689 #201EBE #3B3ADF

Accessibility & contrast

On white

13.89
#171689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#171689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171689
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171689#FFFFFF#000000##FFFFFF
##1716891.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #171689;
/* rgb */ color: rgb(23, 22, 137);
/* oklch */ color: oklch(31.3% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c57ad',
    500: '#171689',
    950: '#000000',
  },
}
SCSS
$custom: #171689;
$custom-light: #6c57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#171689",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 240.522,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31304,
    "c": 0.17852,
    "h": 270.1
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#171689
secondary
#BCBD3E
accent
#EF39ED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171689

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

Preview Lab → · Contrast checker → · Palette generator →

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