#17198D#17198D

#17198D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.181 H 269.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#17198D
RGBrgb(23, 25, 141)
HSLhsl(239, 72%, 32%)
HSVhsv(239, 84%, 55%)
CMYKcmyk(83.7%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.22, 41.65, -62.46)
CIE-LCHlch(19.22, 75.07, 303.70°)
OKLaboklab(32.17% -0.0013 -0.1809)
OKLCHoklch(32.17% 0.181 269.6)
XYZxyz(5.5071, 2.7999, 25.4443)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17198D #8D8B17
analogous
#17548D #17198D #50178D
triadic
#17198D #8D1719 #198D17
tetradic
#17198D #8D1754 #8D8B17 #178D50
square
#17198D #8D1754 #8D8B17 #178D50
split-complementary
#17198D #8D5017 #548D17
monochromatic
#060624 #0E1058 #17198D #2022C2 #3F41E0

Accessibility & contrast

On white

13.46
#17198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#17198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17198D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17198D#FFFFFF#000000##FFFFFF
##17198D1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #17198d;
/* rgb */ color: rgb(23, 25, 141);
/* oklch */ color: oklch(32.2% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d59b0',
    500: '#17198d',
    950: '#000000',
  },
}
SCSS
$custom: #17198d;
$custom-light: #6d59b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17198d",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 238.983,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.18088,
    "h": 269.6
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#17198D
secondary
#C0BE40
accent
#EC39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #17198D

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

Preview Lab → · Contrast checker → · Palette generator →

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