#17196E#17196E

#17196E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.142 H 271.9°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#17196E
RGBrgb(23, 25, 110)
HSLhsl(239, 65%, 26%)
HSVhsv(239, 79%, 43%)
CMYKcmyk(79.1%, 77.3%, 0%, 56.9%)
CIE-LABlab(15.50, 30.79, -48.87)
CIE-LCHlch(15.50, 57.76, 302.22°)
OKLaboklab(28.46% 0.0048 -0.1414)
OKLCHoklch(28.46% 0.142 271.9)
XYZxyz(3.5145, 2.0028, 14.9502)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17196E #6E6C17
analogous
#17446E #17196E #40176E
triadic
#17196E #6E1719 #196E17
tetradic
#17196E #6E1744 #6E6C17 #176E40
square
#17196E #6E1744 #6E6C17 #176E40
split-complementary
#17196E #6E4017 #446E17
monochromatic
#050619 #0C0D3B #17196E #2225A1 #2C30D3

Accessibility & contrast

On white

14.99
#17196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#17196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17196E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17196E#FFFFFF#000000##FFFFFF
##17196E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17196e;
/* rgb */ color: rgb(23, 25, 110);
/* oklch */ color: oklch(28.5% 0.142 271.9);
Tailwind
colors: {
  custom: {
    50: '#655799',
    500: '#17196e',
    950: '#000000',
  },
}
SCSS
$custom: #17196e;
$custom-light: #655799;
$custom-dark: #000000;
JSON
{
  "hex": "#17196e",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 238.621,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.14152,
    "h": 271.9
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#17196E
secondary
#A4A23D
accent
#E43FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17196E

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

Preview Lab → · Contrast checker → · Palette generator →

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