#17407C#17407C

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

Color values

HEX#17407C
RGBrgb(23, 64, 124)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 81%, 49%)
CMYKcmyk(81.5%, 48.4%, 0%, 51.4%)
CIE-LABlab(27.58, 9.26, -38.13)
CIE-LCHlch(27.58, 39.24, 283.65°)
OKLaboklab(37.85% -0.0226 -0.1095)
OKLCHoklch(37.85% 0.112 258.3)
XYZxyz(5.8235, 5.3035, 19.7816)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17407C #7C5317
analogous
#17737C #17407C #21177C
triadic
#17407C #7C1740 #407C17
tetradic
#17407C #7C1773 #7C5317 #177C21
square
#17407C #7C1773 #7C5317 #177C21
split-complementary
#17407C #7C2117 #737C17
monochromatic
#050D1A #0D2548 #17407C #215BB0 #3477D9

Accessibility & contrast

On white

10.19
#17407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#17407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17407C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17407C#FFFFFF#000000##FFFFFF
##17407C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#043D7B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #17407c;
/* rgb */ color: rgb(23, 64, 124);
/* oklch */ color: oklch(37.9% 0.112 258.3);
Tailwind
colors: {
  custom: {
    50: '#6574a2',
    500: '#17407c',
    950: '#000000',
  },
}
SCSS
$custom: #17407c;
$custom-light: #6574a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17407c",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 215.644,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37851,
    "c": 0.11179,
    "h": 258.3
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#17407C
secondary
#B1823E
accent
#A43CEC
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #17407C

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

Preview Lab → · Contrast checker → · Palette generator →

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