#171676#171676

#171676 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.155 H 271.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#171676
RGBrgb(23, 22, 118)
HSLhsl(241, 69%, 27%)
HSVhsv(241, 81%, 46%)
CMYKcmyk(80.5%, 81.4%, 0%, 53.7%)
CIE-LABlab(15.82, 35.45, -53.53)
CIE-LCHlch(15.82, 64.20, 303.51°)
OKLaboklab(28.96% 0.0045 -0.1549)
OKLCHoklch(28.96% 0.155 271.6)
XYZxyz(3.9092, 2.0636, 17.3283)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171676 #757616
analogous
#164576 #171676 #471676
triadic
#171676 #761716 #167617
tetradic
#171676 #761645 #757616 #167647
square
#171676 #761645 #757616 #167647
split-complementary
#171676 #764716 #457616
monochromatic
#05051A #0D0C42 #171676 #2120AA #302ED8

Accessibility & contrast

On white

14.86
#171676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#171676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171676
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171676#FFFFFF#000000##FFFFFF
##1716761.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171676;
/* rgb */ color: rgb(23, 22, 118);
/* oklch */ color: oklch(29.0% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#67559f',
    500: '#171676',
    950: '#000000',
  },
}
SCSS
$custom: #171676;
$custom-light: #67559f;
$custom-dark: #000000;
JSON
{
  "hex": "#171676",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 240.625,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.28958,
    "c": 0.15501,
    "h": 271.6
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#171676
secondary
#AAAC3C
accent
#EB3CEA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #171676

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

Preview Lab → · Contrast checker → · Palette generator →

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