#17407E#17407E

#17407E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.115 H 258.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#17407E
RGBrgb(23, 64, 126)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 82%, 49%)
CMYKcmyk(81.7%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.72, 10.09, -39.16)
CIE-LCHlch(27.72, 40.44, 284.45°)
OKLaboklab(38% -0.0222 -0.1125)
OKLCHoklch(38% 0.115 258.8)
XYZxyz(5.9513, 5.3546, 20.4545)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17407E #7E5517
analogous
#17747E #17407E #22177E
triadic
#17407E #7E1740 #407E17
tetradic
#17407E #7E1774 #7E5517 #177E22
square
#17407E #7E1774 #7E5517 #177E22
split-complementary
#17407E #7E2217 #747E17
monochromatic
#050D1A #0E264A #17407E #205AB2 #3577DA

Accessibility & contrast

On white

10.14
#17407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17407E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17407E#FFFFFF#000000##FFFFFF
##17407E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #17407e;
/* rgb */ color: rgb(23, 64, 126);
/* oklch */ color: oklch(38.0% 0.115 258.8);
Tailwind
colors: {
  custom: {
    50: '#6674a4',
    500: '#17407e',
    950: '#000000',
  },
}
SCSS
$custom: #17407e;
$custom-light: #6674a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17407e",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 216.117,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.11469,
    "h": 258.8
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#17407E
secondary
#B3843E
accent
#A63CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17407E

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

Preview Lab → · Contrast checker → · Palette generator →

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