#17198E#17198E

#17198E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.182 H 269.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#17198E
RGBrgb(23, 25, 142)
HSLhsl(239, 72%, 32%)
HSVhsv(239, 84%, 56%)
CMYKcmyk(83.8%, 82.4%, 0%, 44.3%)
CIE-LABlab(19.35, 41.98, -62.88)
CIE-LCHlch(19.35, 75.60, 303.73°)
OKLaboklab(32.29% -0.0015 -0.1821)
OKLCHoklch(32.29% 0.182 269.5)
XYZxyz(5.5818, 2.8298, 25.8380)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17198E #8E8C17
analogous
#17548E #17198E #51178E
triadic
#17198E #8E1719 #198E17
tetradic
#17198E #8E1754 #8E8C17 #178E51
square
#17198E #8E1754 #8E8C17 #178E51
split-complementary
#17198E #8E5117 #548E17
monochromatic
#060625 #0E1059 #17198E #2022C3 #3F42E0

Accessibility & contrast

On white

13.41
#17198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#17198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17198E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17198E#FFFFFF#000000##FFFFFF
##17198E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17198e;
/* rgb */ color: rgb(23, 25, 142);
/* oklch */ color: oklch(32.3% 0.182 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e59b0',
    500: '#17198e',
    950: '#000000',
  },
}
SCSS
$custom: #17198e;
$custom-light: #6e59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17198e",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 238.992,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32288,
    "c": 0.18209,
    "h": 269.5
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#17198E
secondary
#C0BE40
accent
#EC39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #17198E

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

Preview Lab → · Contrast checker → · Palette generator →

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