#17417D#17417D

#17417D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.112 H 258.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#17417D
RGBrgb(23, 65, 125)
HSLhsl(215, 69%, 29%)
HSVhsv(215, 82%, 49%)
CMYKcmyk(81.6%, 48%, 0%, 51%)
CIE-LABlab(27.96, 8.98, -38.15)
CIE-LCHlch(27.96, 39.19, 283.24°)
OKLaboklab(38.17% -0.0233 -0.1095)
OKLCHoklch(38.17% 0.112 258)
XYZxyz(5.9440, 5.4427, 20.1353)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17417D #7D5317
analogous
#17747D #17417D #20177D
triadic
#17417D #7D1741 #417D17
tetradic
#17417D #7D1774 #7D5317 #177D20
square
#17417D #7D1774 #7D5317 #177D20
split-complementary
#17417D #7D2017 #747D17
monochromatic
#050D1A #0D2649 #17417D #215CB1 #3579DA

Accessibility & contrast

On white

10.05
#17417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#17417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17417D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17417D#FFFFFF#000000##FFFFFF
##17417D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #17417d;
/* rgb */ color: rgb(23, 65, 125);
/* oklch */ color: oklch(38.2% 0.112 258.0);
Tailwind
colors: {
  custom: {
    50: '#6575a3',
    500: '#17417d',
    950: '#000000',
  },
}
SCSS
$custom: #17417d;
$custom-light: #6575a3;
$custom-dark: #000000;
JSON
{
  "hex": "#17417d",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 215.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.11196,
    "h": 258
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#17417D
secondary
#B2823E
accent
#A33CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17417D

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

Preview Lab → · Contrast checker → · Palette generator →

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