#171677#171677

#171677 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.156 H 271.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#171677
RGBrgb(23, 22, 119)
HSLhsl(241, 69%, 28%)
HSVhsv(241, 82%, 47%)
CMYKcmyk(80.7%, 81.5%, 0%, 53.3%)
CIE-LABlab(15.94, 35.80, -53.97)
CIE-LCHlch(15.94, 64.76, 303.56°)
OKLaboklab(29.08% 0.0042 -0.1562)
OKLCHoklch(29.08% 0.156 271.5)
XYZxyz(3.9689, 2.0874, 17.6429)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171677 #767716
analogous
#164577 #171677 #481677
triadic
#171677 #771716 #167717
tetradic
#171677 #771645 #767716 #167748
square
#171677 #771645 #767716 #167748
split-complementary
#171677 #774816 #457716
monochromatic
#05051A #0D0C43 #171677 #2120AB #312FD9

Accessibility & contrast

On white

14.81
#171677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#171677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171677
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171677#FFFFFF#000000##FFFFFF
##1716771.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171677;
/* rgb */ color: rgb(23, 22, 119);
/* oklch */ color: oklch(29.1% 0.156 271.5);
Tailwind
colors: {
  custom: {
    50: '#67559f',
    500: '#171677',
    950: '#000000',
  },
}
SCSS
$custom: #171677;
$custom-light: #67559f;
$custom-dark: #000000;
JSON
{
  "hex": "#171677",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 240.619,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.2908,
    "c": 0.15629,
    "h": 271.5
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#171677
secondary
#ABAC3C
accent
#EC3CEA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #171677

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

Preview Lab → · Contrast checker → · Palette generator →

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