#171680#171680

#171680 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.168 H 270.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#171680
RGBrgb(23, 22, 128)
HSLhsl(241, 71%, 29%)
HSVhsv(241, 83%, 50%)
CMYKcmyk(82%, 82.8%, 0%, 49.8%)
CIE-LABlab(17.06, 38.87, -57.87)
CIE-LCHlch(17.06, 69.71, 303.89°)
OKLaboklab(30.18% 0.0022 -0.1675)
OKLCHoklch(30.18% 0.168 270.8)
XYZxyz(4.5352, 2.3140, 20.6255)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171680 #7F8016
analogous
#164A80 #171680 #4C1680
triadic
#171680 #801716 #168017
tetradic
#171680 #80164A #7F8016 #16804C
square
#171680 #80164A #7F8016 #16804C
split-complementary
#171680 #804C16 #4A8016
monochromatic
#05041A #0E0D4C #171680 #201FB4 #3634DC

Accessibility & contrast

On white

14.36
#171680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#171680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171680
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171680#FFFFFF#000000##FFFFFF
##1716801.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #171680;
/* rgb */ color: rgb(23, 22, 128);
/* oklch */ color: oklch(30.2% 0.168 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a56a6',
    500: '#171680',
    950: '#000000',
  },
}
SCSS
$custom: #171680;
$custom-light: #6a56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171680",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 240.566,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30184,
    "c": 0.16755,
    "h": 270.8
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#171680
secondary
#B4B53D
accent
#ED3AEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #171680

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

Preview Lab → · Contrast checker → · Palette generator →

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