#17196F#17196F

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

Color values

HEX#17196F
RGBrgb(23, 25, 111)
HSLhsl(239, 66%, 26%)
HSVhsv(239, 79%, 44%)
CMYKcmyk(79.3%, 77.5%, 0%, 56.5%)
CIE-LABlab(15.62, 31.16, -49.33)
CIE-LCHlch(15.62, 58.34, 302.28°)
OKLaboklab(28.57% 0.0046 -0.1428)
OKLCHoklch(28.57% 0.143 271.9)
XYZxyz(3.5693, 2.0247, 15.2385)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17196F #6F6D17
analogous
#17456F #17196F #41176F
triadic
#17196F #6F1719 #196F17
tetradic
#17196F #6F1745 #6F6D17 #176F41
square
#17196F #6F1745 #6F6D17 #176F41
split-complementary
#17196F #6F4117 #456F17
monochromatic
#050619 #0C0E3C #17196F #2224A2 #2D31D3

Accessibility & contrast

On white

14.95
#17196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17196F
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17196F#FFFFFF#000000##FFFFFF
##17196F1.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17196f;
/* rgb */ color: rgb(23, 25, 111);
/* oklch */ color: oklch(28.6% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#655799',
    500: '#17196f',
    950: '#000000',
  },
}
SCSS
$custom: #17196f;
$custom-light: #655799;
$custom-dark: #000000;
JSON
{
  "hex": "#17196f",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 238.636,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.14286,
    "h": 271.9
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#17196F
secondary
#A5A23D
accent
#E53FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17196F

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

Preview Lab → · Contrast checker → · Palette generator →

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