#17169F#17169F

#17169F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.1% C 0.204 H 268.7°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#17169F
RGBrgb(23, 22, 159)
HSLhsl(240, 76%, 35%)
HSVhsv(240, 86%, 62%)
CMYKcmyk(85.5%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.05, 48.84, -70.54)
CIE-LCHlch(21.05, 85.80, 304.70°)
OKLaboklab(34.09% -0.0046 -0.2042)
OKLCHoklch(34.09% 0.204 268.7)
XYZxyz(6.8961, 3.2583, 33.0596)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17169F #9E9F16
analogous
#16599F #17169F #5B169F
triadic
#17169F #9F1716 #169F17
tetradic
#17169F #9F1659 #9E9F16 #169F5B
square
#17169F #9F1659 #9E9F16 #169F5B
split-complementary
#17169F #9F5B16 #599F16
monochromatic
#070733 #0F0F69 #17169F #1F1DD5 #4B4AE6

Accessibility & contrast

On white

12.71
#17169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#17169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17169F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17169F#FFFFFF#000000##FFFFFF
##17169F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #17169f;
/* rgb */ color: rgb(23, 22, 159);
/* oklch */ color: oklch(34.1% 0.204 268.7);
Tailwind
colors: {
  custom: {
    50: '#7359bd',
    500: '#17169f',
    950: '#000000',
  },
}
SCSS
$custom: #17169f;
$custom-light: #7359bd;
$custom-dark: #000000;
JSON
{
  "hex": "#17169f",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 240.438,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34088,
    "c": 0.20423,
    "h": 268.7
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#17169F
secondary
#C6C74A
accent
#F236F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #17169F

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

Preview Lab → · Contrast checker → · Palette generator →

#17169F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva