#17417E#17417E

#17417E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.113 H 258.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#17417E
RGBrgb(23, 65, 126)
HSLhsl(216, 69%, 29%)
HSVhsv(216, 82%, 49%)
CMYKcmyk(81.7%, 48.4%, 0%, 50.6%)
CIE-LABlab(28.03, 9.39, -38.67)
CIE-LCHlch(28.03, 39.79, 283.66°)
OKLaboklab(38.24% -0.0231 -0.111)
OKLCHoklch(38.24% 0.113 258.3)
XYZxyz(6.0082, 5.4684, 20.4735)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17417E #7E5417
analogous
#17757E #17417E #21177E
triadic
#17417E #7E1741 #417E17
tetradic
#17417E #7E1775 #7E5417 #177E21
square
#17417E #7E1775 #7E5417 #177E21
split-complementary
#17417E #7E2117 #757E17
monochromatic
#050D1A #0E264A #17417E #205CB2 #3578DA

Accessibility & contrast

On white

10.03
#17417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17417E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17417E#FFFFFF#000000##FFFFFF
##17417E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #17417e;
/* rgb */ color: rgb(23, 65, 126);
/* oklch */ color: oklch(38.2% 0.113 258.3);
Tailwind
colors: {
  custom: {
    50: '#6675a4',
    500: '#17417e',
    950: '#000000',
  },
}
SCSS
$custom: #17417e;
$custom-light: #6675a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17417e",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 215.534,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38241,
    "c": 0.1134,
    "h": 258.3
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#17417E
secondary
#B3833E
accent
#A43CEC
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #17417E

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

Preview Lab → · Contrast checker → · Palette generator →

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