#17408C#17408C

#17408C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.135 H 261.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#17408C
RGBrgb(23, 64, 140)
HSLhsl(219, 72%, 32%)
HSVhsv(219, 84%, 55%)
CMYKcmyk(83.6%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.75, 15.88, -46.20)
CIE-LCHlch(28.75, 48.85, 288.96°)
OKLaboklab(39.12% -0.0202 -0.1332)
OKLCHoklch(39.12% 0.135 261.4)
XYZxyz(6.9187, 5.7416, 25.5494)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17408C #8C6317
analogous
#177B8C #17408C #28178C
triadic
#17408C #8C1740 #408C17
tetradic
#17408C #8C177B #8C6317 #178C28
square
#17408C #8C177B #8C6317 #178C28
split-complementary
#17408C #8C2817 #7B8C17
monochromatic
#061023 #0E2857 #17408C #2058C1 #3E77DF

Accessibility & contrast

On white

9.77
#17408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#17408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17408C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17408C#FFFFFF#000000##FFFFFF
##17408C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17408c;
/* rgb */ color: rgb(23, 64, 140);
/* oklch */ color: oklch(39.1% 0.135 261.4);
Tailwind
colors: {
  custom: {
    50: '#6974ae',
    500: '#17408c',
    950: '#000000',
  },
}
SCSS
$custom: #17408c;
$custom-light: #6974ae;
$custom-dark: #000000;
JSON
{
  "hex": "#17408c",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 218.974,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.13475,
    "h": 261.4
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#17408C
secondary
#BF933F
accent
#AF39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17408C

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

Preview Lab → · Contrast checker → · Palette generator →

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