#17417F#17417F

#17417F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.115 H 258.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#17417F
RGBrgb(23, 65, 127)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 82%, 50%)
CMYKcmyk(81.9%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.10, 9.81, -39.18)
CIE-LCHlch(28.10, 40.39, 284.05°)
OKLaboklab(38.32% -0.0229 -0.1125)
OKLCHoklch(38.32% 0.115 258.5)
XYZxyz(6.0730, 5.4943, 20.8150)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17417F #7F5517
analogous
#17757F #17417F #21177F
triadic
#17417F #7F1741 #417F17
tetradic
#17417F #7F1775 #7F5517 #177F21
square
#17417F #7F1775 #7F5517 #177F21
split-complementary
#17417F #7F2117 #757F17
monochromatic
#050D1A #0E264B #17417F #205CB3 #3678DB

Accessibility & contrast

On white

10.00
#17417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#17417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17417F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17417F#FFFFFF#000000##FFFFFF
##17417F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#013E7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #17417f;
/* rgb */ color: rgb(23, 65, 127);
/* oklch */ color: oklch(38.3% 0.115 258.5);
Tailwind
colors: {
  custom: {
    50: '#6675a4',
    500: '#17417f',
    950: '#000000',
  },
}
SCSS
$custom: #17417f;
$custom-light: #6675a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17417f",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 215.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.11485,
    "h": 258.5
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#17417F
secondary
#B4843E
accent
#A53CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17417F

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

Preview Lab → · Contrast checker → · Palette generator →

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