#17196D#17196D

#17196D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.140 H 272.0°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#17196D
RGBrgb(23, 25, 109)
HSLhsl(239, 65%, 26%)
HSVhsv(239, 79%, 43%)
CMYKcmyk(78.9%, 77.1%, 0%, 57.3%)
CIE-LABlab(15.39, 30.42, -48.40)
CIE-LCHlch(15.39, 57.17, 302.15°)
OKLaboklab(28.34% 0.005 -0.1401)
OKLCHoklch(28.34% 0.14 272)
XYZxyz(3.4604, 1.9812, 14.6651)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17196D #6D6B17
analogous
#17446D #17196D #40176D
triadic
#17196D #6D1719 #196D17
tetradic
#17196D #6D1744 #6D6B17 #176D40
square
#17196D #6D1744 #6D6B17 #176D40
split-complementary
#17196D #6D4017 #446D17
monochromatic
#050619 #0C0D3A #17196D #2225A0 #2C30D2

Accessibility & contrast

On white

15.04
#17196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17196D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17196D#FFFFFF#000000##FFFFFF
##17196D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17196d;
/* rgb */ color: rgb(23, 25, 109);
/* oklch */ color: oklch(28.3% 0.140 272.0);
Tailwind
colors: {
  custom: {
    50: '#645698',
    500: '#17196d',
    950: '#000000',
  },
}
SCSS
$custom: #17196d;
$custom-light: #645698;
$custom-dark: #000000;
JSON
{
  "hex": "#17196d",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 238.605,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.14018,
    "h": 272
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#17196D
secondary
#A3A13D
accent
#E440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17196D

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

Preview Lab → · Contrast checker → · Palette generator →

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