#171673#171673

#171673 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.151 H 271.9°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#171673
RGBrgb(23, 22, 115)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 45%)
CMYKcmyk(80%, 80.9%, 0%, 54.9%)
CIE-LABlab(15.45, 34.40, -52.19)
CIE-LCHlch(15.45, 62.51, 303.39°)
OKLaboklab(28.6% 0.0051 -0.1511)
OKLCHoklch(28.6% 0.151 271.9)
XYZxyz(3.7337, 1.9934, 16.4043)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171673 #727316
analogous
#164473 #171673 #461673
triadic
#171673 #731716 #167317
tetradic
#171673 #731644 #727316 #167346
square
#171673 #731644 #727316 #167346
split-complementary
#171673 #734616 #447316
monochromatic
#05051A #0D0C40 #171673 #2120A6 #2E2DD7

Accessibility & contrast

On white

15.01
#171673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171673
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171673#FFFFFF#000000##FFFFFF
##1716731.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171673;
/* rgb */ color: rgb(23, 22, 115);
/* oklch */ color: oklch(28.6% 0.151 271.9);
Tailwind
colors: {
  custom: {
    50: '#66559c',
    500: '#171673',
    950: '#000000',
  },
}
SCSS
$custom: #171673;
$custom-light: #66559c;
$custom-dark: #000000;
JSON
{
  "hex": "#171673",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 240.645,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28596,
    "c": 0.15117,
    "h": 271.9
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#171673
secondary
#A8A93C
accent
#EB3DE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171673

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

Preview Lab → · Contrast checker → · Palette generator →

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