#17198A#17198A

#17198A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.177 H 269.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#17198A
RGBrgb(23, 25, 138)
HSLhsl(239, 71%, 32%)
HSVhsv(239, 83%, 54%)
CMYKcmyk(83.3%, 81.9%, 0%, 45.9%)
CIE-LABlab(18.85, 40.65, -61.20)
CIE-LCHlch(18.85, 73.47, 303.59°)
OKLaboklab(31.8% -0.0007 -0.1772)
OKLCHoklch(31.8% 0.177 269.8)
XYZxyz(5.2869, 2.7118, 24.2846)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17198A #8A8817
analogous
#17538A #17198A #4F178A
triadic
#17198A #8A1719 #198A17
tetradic
#17198A #8A1753 #8A8817 #178A4F
square
#17198A #8A1753 #8A8817 #178A4F
split-complementary
#17198A #8A4F17 #538A17
monochromatic
#060621 #0E0F56 #17198A #2023BE #3D40DF

Accessibility & contrast

On white

13.62
#17198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#17198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17198A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17198A#FFFFFF#000000##FFFFFF
##17198A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #17198a;
/* rgb */ color: rgb(23, 25, 138);
/* oklch */ color: oklch(31.8% 0.177 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c58ad',
    500: '#17198a',
    950: '#000000',
  },
}
SCSS
$custom: #17198a;
$custom-light: #6c58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17198a",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 238.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31797,
    "c": 0.17724,
    "h": 269.8
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#17198A
secondary
#BEBB3F
accent
#EB3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #17198A

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

Preview Lab → · Contrast checker → · Palette generator →

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