#171679#171679

#171679 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.159 H 271.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#171679
RGBrgb(23, 22, 121)
HSLhsl(241, 69%, 28%)
HSVhsv(241, 82%, 47%)
CMYKcmyk(81%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.19, 36.49, -54.84)
CIE-LCHlch(16.19, 65.87, 303.63°)
OKLaboklab(29.32% 0.0038 -0.1588)
OKLCHoklch(29.32% 0.159 271.4)
XYZxyz(4.0903, 2.1360, 18.2822)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171679 #787916
analogous
#164679 #171679 #481679
triadic
#171679 #791716 #167917
tetradic
#171679 #791646 #787916 #167948
square
#171679 #791646 #787916 #167948
split-complementary
#171679 #794816 #467916
monochromatic
#05051A #0D0D45 #171679 #211FAD #3230D9

Accessibility & contrast

On white

14.71
#171679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171679
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171679#FFFFFF#000000##FFFFFF
##1716791.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171679;
/* rgb */ color: rgb(23, 22, 121);
/* oklch */ color: oklch(29.3% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#6855a1',
    500: '#171679',
    950: '#000000',
  },
}
SCSS
$custom: #171679;
$custom-light: #6855a1;
$custom-dark: #000000;
JSON
{
  "hex": "#171679",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 240.606,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29324,
    "c": 0.15881,
    "h": 271.4
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#171679
secondary
#ADAE3D
accent
#EC3CEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #171679

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

Preview Lab → · Contrast checker → · Palette generator →

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