#171889#171889

#171889 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.177 H 269.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#171889
RGBrgb(23, 24, 137)
HSLhsl(239, 71%, 31%)
HSVhsv(239, 83%, 54%)
CMYKcmyk(83.2%, 82.5%, 0%, 46.3%)
CIE-LABlab(18.54, 40.84, -61.08)
CIE-LCHlch(18.54, 73.48, 303.77°)
OKLaboklab(31.55% -0.0002 -0.1769)
OKLCHoklch(31.55% 0.177 269.9)
XYZxyz(5.1938, 2.6410, 23.8981)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171889 #898817
analogous
#175189 #171889 #4F1789
triadic
#171889 #891718 #188917
tetradic
#171889 #891751 #898817 #17894F
square
#171889 #891751 #898817 #17894F
split-complementary
#171889 #894F17 #518917
monochromatic
#050620 #0E0F55 #171889 #2021BD #3C3EDE

Accessibility & contrast

On white

13.74
#171889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#171889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171889
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171889#FFFFFF#000000##FFFFFF
##1718891.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #171889;
/* rgb */ color: rgb(23, 24, 137);
/* oklch */ color: oklch(31.5% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#6c58ad',
    500: '#171889',
    950: '#000000',
  },
}
SCSS
$custom: #171889;
$custom-light: #6c58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#171889",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 239.474,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31547,
    "c": 0.17688,
    "h": 269.9
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#171889
secondary
#BDBC3F
accent
#EC3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171889

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

Preview Lab → · Contrast checker → · Palette generator →

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