#17408F#17408F

#17408F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.139 H 261.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#17408F
RGBrgb(23, 64, 143)
HSLhsl(220, 72%, 33%)
HSVhsv(220, 84%, 56%)
CMYKcmyk(83.9%, 55.2%, 0%, 43.9%)
CIE-LABlab(28.98, 17.11, -47.67)
CIE-LCHlch(28.98, 50.65, 289.74°)
OKLaboklab(39.37% -0.0199 -0.1376)
OKLCHoklch(39.37% 0.139 261.8)
XYZxyz(7.1429, 5.8313, 26.7304)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17408F #8F6617
analogous
#177C8F #17408F #2A178F
triadic
#17408F #8F1740 #408F17
tetradic
#17408F #8F177C #8F6617 #178F2A
square
#17408F #8F177C #8F6617 #178F2A
split-complementary
#17408F #8F2A17 #7C8F17
monochromatic
#061126 #0F285A #17408F #1F58C4 #4077E0

Accessibility & contrast

On white

9.69
#17408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#17408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17408F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17408F#FFFFFF#000000##FFFFFF
##17408F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17408f;
/* rgb */ color: rgb(23, 64, 143);
/* oklch */ color: oklch(39.4% 0.139 261.8);
Tailwind
colors: {
  custom: {
    50: '#6a74b0',
    500: '#17408f',
    950: '#000000',
  },
}
SCSS
$custom: #17408f;
$custom-light: #6a74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17408f",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 219.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.13899,
    "h": 261.8
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#17408F
secondary
#C19541
accent
#B139EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #17408F

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

Preview Lab → · Contrast checker → · Palette generator →

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