#17176F#17176F

#17176F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.145 H 272.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#17176F
RGBrgb(23, 23, 111)
HSLhsl(240, 66%, 26%)
HSVhsv(240, 79%, 44%)
CMYKcmyk(79.3%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.18, 32.39, -50.05)
CIE-LCHlch(15.18, 59.61, 302.91°)
OKLaboklab(28.26% 0.0055 -0.1449)
OKLCHoklch(28.26% 0.145 272.2)
XYZxyz(3.5280, 1.9423, 15.2248)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17176F #6F6F17
analogous
#17436F #17176F #43176F
triadic
#17176F #6F1717 #176F17
tetradic
#17176F #6F1743 #6F6F17 #176F43
square
#17176F #6F1743 #6F6F17 #176F43
split-complementary
#17176F #6F4317 #436F17
monochromatic
#050519 #0C0C3C #17176F #2222A2 #2D2DD3

Accessibility & contrast

On white

15.12
#17176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#17176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17176F
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17176F#FFFFFF#000000##FFFFFF
##17176F1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17176f;
/* rgb */ color: rgb(23, 23, 111);
/* oklch */ color: oklch(28.3% 0.145 272.2);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#17176f',
    950: '#000000',
  },
}
SCSS
$custom: #17176f;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#17176f",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.14497,
    "h": 272.2
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#17176F
secondary
#A5A53D
accent
#E93FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17176F

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

Preview Lab → · Contrast checker → · Palette generator →

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