#17169E#17169E

#17169E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 268.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#17169E
RGBrgb(23, 22, 158)
HSLhsl(240, 76%, 35%)
HSVhsv(240, 86%, 62%)
CMYKcmyk(85.4%, 86.1%, 0%, 38%)
CIE-LABlab(20.92, 48.53, -70.15)
CIE-LCHlch(20.92, 85.30, 304.68°)
OKLaboklab(33.96% -0.0044 -0.203)
OKLCHoklch(33.96% 0.203 268.8)
XYZxyz(6.8097, 3.2238, 32.6045)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17169E #9D9E16
analogous
#16599E #17169E #5B169E
triadic
#17169E #9E1716 #169E17
tetradic
#17169E #9E1659 #9D9E16 #169E5B
square
#17169E #9E1659 #9D9E16 #169E5B
split-complementary
#17169E #9E5B16 #599E16
monochromatic
#070733 #0F0F68 #17169E #1F1DD4 #4A49E6

Accessibility & contrast

On white

12.77
#17169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17169E
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17169E#FFFFFF#000000##FFFFFF
##17169E1.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17169e;
/* rgb */ color: rgb(23, 22, 158);
/* oklch */ color: oklch(34.0% 0.203 268.8);
Tailwind
colors: {
  custom: {
    50: '#7258bc',
    500: '#17169e',
    950: '#000000',
  },
}
SCSS
$custom: #17169e;
$custom-light: #7258bc;
$custom-dark: #000000;
JSON
{
  "hex": "#17169e",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 240.441,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3396,
    "c": 0.2031,
    "h": 268.8
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17169E

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

Preview Lab → · Contrast checker → · Palette generator →

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