#171699#171699

#171699 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.197 H 269.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#171699
RGBrgb(23, 22, 153)
HSLhsl(240, 75%, 34%)
HSVhsv(240, 86%, 60%)
CMYKcmyk(85%, 85.6%, 0%, 40%)
CIE-LABlab(20.26, 46.98, -68.17)
CIE-LCHlch(20.26, 82.79, 304.57°)
OKLaboklab(33.32% -0.0033 -0.1973)
OKLCHoklch(33.32% 0.197 269)
XYZxyz(6.3881, 3.0551, 30.3838)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171699 #989916
analogous
#165799 #171699 #591699
triadic
#171699 #991716 #169917
tetradic
#171699 #991657 #989916 #169959
square
#171699 #991657 #989916 #169959
split-complementary
#171699 #995916 #579916
monochromatic
#07072E #0F0E63 #171699 #1F1ECF #4645E4

Accessibility & contrast

On white

13.03
#171699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#171699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171699
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171699#FFFFFF#000000##FFFFFF
##1716991.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002A97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #171699;
/* rgb */ color: rgb(23, 22, 153);
/* oklch */ color: oklch(33.3% 0.197 269.0);
Tailwind
colors: {
  custom: {
    50: '#7158b9',
    500: '#171699',
    950: '#000000',
  },
}
SCSS
$custom: #171699;
$custom-light: #7158b9;
$custom-dark: #000000;
JSON
{
  "hex": "#171699",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 240.458,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33324,
    "c": 0.19736,
    "h": 269
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#171699
secondary
#C4C546
accent
#F136F0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #171699

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

Preview Lab → · Contrast checker → · Palette generator →

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