#17196A#17196A

#17196A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.136 H 272.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#17196A
RGBrgb(23, 25, 106)
HSLhsl(239, 64%, 25%)
HSVhsv(239, 78%, 42%)
CMYKcmyk(78.3%, 76.4%, 0%, 58.4%)
CIE-LABlab(15.05, 29.31, -47.00)
CIE-LCHlch(15.05, 55.39, 301.95°)
OKLaboklab(28% 0.0055 -0.136)
OKLCHoklch(28% 0.136 272.3)
XYZxyz(3.3016, 1.9177, 13.8290)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17196A #6A6817
analogous
#17426A #17196A #3E176A
triadic
#17196A #6A1719 #196A17
tetradic
#17196A #6A1742 #6A6817 #176A3E
square
#17196A #6A1742 #6A6817 #176A3E
split-complementary
#17196A #6A3E17 #426A17
monochromatic
#050619 #0C0D38 #17196A #22259C #2D31CF

Accessibility & contrast

On white

15.18
#17196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17196A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17196A#FFFFFF#000000##FFFFFF
##17196A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17196a;
/* rgb */ color: rgb(23, 25, 106);
/* oklch */ color: oklch(28.0% 0.136 272.3);
Tailwind
colors: {
  custom: {
    50: '#635696',
    500: '#17196a',
    950: '#000000',
  },
}
SCSS
$custom: #17196a;
$custom-light: #635696;
$custom-dark: #000000;
JSON
{
  "hex": "#17196a",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 238.554,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27999,
    "c": 0.13612,
    "h": 272.3
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#17196A
secondary
#A09E3D
accent
#E340E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #17196A

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

Preview Lab → · Contrast checker → · Palette generator →

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