#17407A#17407A

#17407A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.109 H 257.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#17407A
RGBrgb(23, 64, 122)
HSLhsl(215, 68%, 28%)
HSVhsv(215, 81%, 48%)
CMYKcmyk(81.1%, 47.5%, 0%, 52.2%)
CIE-LABlab(27.44, 8.43, -37.10)
CIE-LCHlch(27.44, 38.04, 282.80°)
OKLaboklab(37.7% -0.023 -0.1064)
OKLCHoklch(37.7% 0.109 257.8)
XYZxyz(5.6983, 5.2534, 19.1223)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17407A #7A5117
analogous
#17717A #17407A #20177A
triadic
#17407A #7A1740 #407A17
tetradic
#17407A #7A1771 #7A5117 #177A20
square
#17407A #7A1771 #7A5117 #177A20
split-complementary
#17407A #7A2017 #717A17
monochromatic
#050E1A #0D2547 #17407A #215BAD #3377D9

Accessibility & contrast

On white

10.24
#17407A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#17407A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17407A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17407A#FFFFFF#000000##FFFFFF
##17407A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#0A3D79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #17407a;
/* rgb */ color: rgb(23, 64, 122);
/* oklch */ color: oklch(37.7% 0.109 257.8);
Tailwind
colors: {
  custom: {
    50: '#6574a1',
    500: '#17407a',
    950: '#000000',
  },
}
SCSS
$custom: #17407a;
$custom-light: #6574a1;
$custom-dark: #000000;
JSON
{
  "hex": "#17407a",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 215.152,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.10888,
    "h": 257.8
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#17407A
secondary
#AF803E
accent
#A33DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #17407A

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

Preview Lab → · Contrast checker → · Palette generator →

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