#17408E#17408E

#17408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.138 H 261.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#17408E
RGBrgb(23, 64, 142)
HSLhsl(219, 72%, 32%)
HSVhsv(219, 84%, 56%)
CMYKcmyk(83.8%, 54.9%, 0%, 44.3%)
CIE-LABlab(28.91, 16.70, -47.19)
CIE-LCHlch(28.91, 50.05, 289.49°)
OKLaboklab(39.28% -0.02 -0.1361)
OKLCHoklch(39.28% 0.138 261.6)
XYZxyz(7.0675, 5.8011, 26.3332)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17408E #8E6517
analogous
#177B8E #17408E #2A178E
triadic
#17408E #8E1740 #408E17
tetradic
#17408E #8E177B #8E6517 #178E2A
square
#17408E #8E177B #8E6517 #178E2A
split-complementary
#17408E #8E2A17 #7B8E17
monochromatic
#061125 #0E2859 #17408E #2058C3 #3F77E0

Accessibility & contrast

On white

9.72
#17408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#17408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17408E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17408E#FFFFFF#000000##FFFFFF
##17408E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17408e;
/* rgb */ color: rgb(23, 64, 142);
/* oklch */ color: oklch(39.3% 0.138 261.6);
Tailwind
colors: {
  custom: {
    50: '#6a74b0',
    500: '#17408e',
    950: '#000000',
  },
}
SCSS
$custom: #17408e;
$custom-light: #6a74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17408e",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 219.328,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.13758,
    "h": 261.6
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#17408E
secondary
#C09440
accent
#B039EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #17408E

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

Preview Lab → · Contrast checker → · Palette generator →

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