#17197A#17197A

#17197A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.157 H 270.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#17197A
RGBrgb(23, 25, 122)
HSLhsl(239, 68%, 28%)
HSVhsv(239, 81%, 48%)
CMYKcmyk(81.1%, 79.5%, 0%, 52.2%)
CIE-LABlab(16.90, 35.12, -54.30)
CIE-LCHlch(16.90, 64.67, 302.90°)
OKLaboklab(29.86% 0.0025 -0.1572)
OKLCHoklch(29.86% 0.157 270.9)
XYZxyz(4.2126, 2.2821, 18.6270)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17197A #7A7817
analogous
#174A7A #17197A #46177A
triadic
#17197A #7A1719 #197A17
tetradic
#17197A #7A174A #7A7817 #177A46
square
#17197A #7A174A #7A7817 #177A46
split-complementary
#17197A #7A4617 #4A7A17
monochromatic
#05051A #0D0E47 #17197A #2124AD #3336D9

Accessibility & contrast

On white

14.42
#17197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#17197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17197A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17197A#FFFFFF#000000##FFFFFF
##17197A1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #17197a;
/* rgb */ color: rgb(23, 25, 122);
/* oklch */ color: oklch(29.9% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#17197a',
    950: '#000000',
  },
}
SCSS
$custom: #17197a;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17197a",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 238.788,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.15725,
    "h": 270.9
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#17197A
secondary
#AFAD3E
accent
#E83DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17197A

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

Preview Lab → · Contrast checker → · Palette generator →

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