#17408A#17408A

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

Color values

HEX#17408A
RGBrgb(23, 64, 138)
HSLhsl(219, 71%, 32%)
HSVhsv(219, 83%, 54%)
CMYKcmyk(83.3%, 53.6%, 0%, 45.9%)
CIE-LABlab(28.60, 15.05, -45.21)
CIE-LCHlch(28.60, 47.65, 288.41°)
OKLaboklab(38.95% -0.0204 -0.1303)
OKLCHoklch(38.95% 0.132 261.1)
XYZxyz(6.7725, 5.6831, 24.7798)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17408A #8A6117
analogous
#177A8A #17408A #28178A
triadic
#17408A #8A1740 #408A17
tetradic
#17408A #8A177A #8A6117 #178A28
square
#17408A #8A177A #8A6117 #178A28
split-complementary
#17408A #8A2817 #7A8A17
monochromatic
#060F21 #0E2856 #17408A #2058BE #3D76DF

Accessibility & contrast

On white

9.83
#17408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17408A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17408A#FFFFFF#000000##FFFFFF
##17408A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #17408a;
/* rgb */ color: rgb(23, 64, 138);
/* oklch */ color: oklch(39.0% 0.132 261.1);
Tailwind
colors: {
  custom: {
    50: '#6974ad',
    500: '#17408a',
    950: '#000000',
  },
}
SCSS
$custom: #17408a;
$custom-light: #6974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17408a",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 218.609,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.13191,
    "h": 261.1
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#17408A
secondary
#BE913F
accent
#AE3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17408A

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

Preview Lab → · Contrast checker → · Palette generator →

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