#17196C#17196C

#17196C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.139 H 272.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#17196C
RGBrgb(23, 25, 108)
HSLhsl(239, 65%, 26%)
HSVhsv(239, 79%, 42%)
CMYKcmyk(78.7%, 76.9%, 0%, 57.6%)
CIE-LABlab(15.27, 30.05, -47.94)
CIE-LCHlch(15.27, 56.58, 302.08°)
OKLaboklab(28.23% 0.0052 -0.1387)
OKLCHoklch(28.23% 0.139 272.1)
XYZxyz(3.4068, 1.9598, 14.3832)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17196C #6C6A17
analogous
#17436C #17196C #3F176C
triadic
#17196C #6C1719 #196C17
tetradic
#17196C #6C1743 #6C6A17 #176C3F
square
#17196C #6C1743 #6C6A17 #176C3F
split-complementary
#17196C #6C3F17 #436C17
monochromatic
#050619 #0C0D3A #17196C #22259E #2C30D1

Accessibility & contrast

On white

15.09
#17196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#17196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17196C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17196C#FFFFFF#000000##FFFFFF
##17196C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17196c;
/* rgb */ color: rgb(23, 25, 108);
/* oklch */ color: oklch(28.2% 0.139 272.1);
Tailwind
colors: {
  custom: {
    50: '#645697',
    500: '#17196c',
    950: '#000000',
  },
}
SCSS
$custom: #17196c;
$custom-light: #645697;
$custom-dark: #000000;
JSON
{
  "hex": "#17196c",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 238.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28228,
    "c": 0.13884,
    "h": 272.1
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17196C

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

Preview Lab → · Contrast checker → · Palette generator →

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