#17408B#17408B

#17408B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.133 H 261.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#17408B
RGBrgb(23, 64, 139)
HSLhsl(219, 72%, 32%)
HSVhsv(219, 83%, 55%)
CMYKcmyk(83.5%, 54%, 0%, 45.5%)
CIE-LABlab(28.67, 15.47, -45.71)
CIE-LCHlch(28.67, 48.25, 288.69°)
OKLaboklab(39.04% -0.0203 -0.1318)
OKLCHoklch(39.04% 0.133 261.2)
XYZxyz(6.8453, 5.7122, 25.1629)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17408B #8B6217
analogous
#177A8B #17408B #28178B
triadic
#17408B #8B1740 #408B17
tetradic
#17408B #8B177A #8B6217 #178B28
square
#17408B #8B177A #8B6217 #178B28
split-complementary
#17408B #8B2817 #7A8B17
monochromatic
#061022 #0E2856 #17408B #2058C0 #3D77DF

Accessibility & contrast

On white

9.80
#17408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#17408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17408B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17408B#FFFFFF#000000##FFFFFF
##17408B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17408b;
/* rgb */ color: rgb(23, 64, 139);
/* oklch */ color: oklch(39.0% 0.133 261.2);
Tailwind
colors: {
  custom: {
    50: '#6974ad',
    500: '#17408b',
    950: '#000000',
  },
}
SCSS
$custom: #17408b;
$custom-light: #6974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17408b",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 218.793,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.13333,
    "h": 261.2
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#17408B
secondary
#BF923F
accent
#AE39EE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17408B

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

Preview Lab → · Contrast checker → · Palette generator →

#17408B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva