#17407D#17407D

#17407D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.113 H 258.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#17407D
RGBrgb(23, 64, 125)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 82%, 49%)
CMYKcmyk(81.6%, 48.8%, 0%, 51%)
CIE-LABlab(27.65, 9.67, -38.65)
CIE-LCHlch(27.65, 39.84, 284.05°)
OKLaboklab(37.93% -0.0224 -0.111)
OKLCHoklch(37.93% 0.113 258.6)
XYZxyz(5.8871, 5.3289, 20.1164)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17407D #7D5417
analogous
#17737D #17407D #21177D
triadic
#17407D #7D1740 #407D17
tetradic
#17407D #7D1773 #7D5417 #177D21
square
#17407D #7D1773 #7D5417 #177D21
split-complementary
#17407D #7D2117 #737D17
monochromatic
#050D1A #0D2649 #17407D #215AB1 #3577DA

Accessibility & contrast

On white

10.16
#17407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#17407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17407D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17407D#FFFFFF#000000##FFFFFF
##17407D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#023D7C
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #17407d;
/* rgb */ color: rgb(23, 64, 125);
/* oklch */ color: oklch(37.9% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#6574a3',
    500: '#17407d',
    950: '#000000',
  },
}
SCSS
$custom: #17407d;
$custom-light: #6574a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17407d",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 215.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.11324,
    "h": 258.6
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#17407D
secondary
#B2833E
accent
#A53CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17407D

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

Preview Lab → · Contrast checker → · Palette generator →

#17407D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva