#17198F#17198F

#17198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.183 H 269.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#17198F
RGBrgb(23, 25, 143)
HSLhsl(239, 72%, 33%)
HSVhsv(239, 84%, 56%)
CMYKcmyk(83.9%, 82.5%, 0%, 43.9%)
CIE-LABlab(19.47, 42.32, -63.29)
CIE-LCHlch(19.47, 76.13, 303.77°)
OKLaboklab(32.41% -0.0017 -0.1833)
OKLCHoklch(32.41% 0.183 269.5)
XYZxyz(5.6572, 2.8599, 26.2351)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17198F #8F8D17
analogous
#17558F #17198F #51178F
triadic
#17198F #8F1719 #198F17
tetradic
#17198F #8F1755 #8F8D17 #178F51
square
#17198F #8F1755 #8F8D17 #178F51
split-complementary
#17198F #8F5117 #558F17
monochromatic
#060726 #0F105A #17198F #1F22C4 #4043E0

Accessibility & contrast

On white

13.36
#17198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17198F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17198F#FFFFFF#000000##FFFFFF
##17198F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17198f;
/* rgb */ color: rgb(23, 25, 143);
/* oklch */ color: oklch(32.4% 0.183 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e59b1',
    500: '#17198f',
    950: '#000000',
  },
}
SCSS
$custom: #17198f;
$custom-light: #6e59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#17198f",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 239,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32411,
    "c": 0.18329,
    "h": 269.5
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17198F

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

Preview Lab → · Contrast checker → · Palette generator →

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