#17417C#17417C

#17417C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.111 H 257.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#17417C
RGBrgb(23, 65, 124)
HSLhsl(215, 69%, 29%)
HSVhsv(215, 81%, 49%)
CMYKcmyk(81.5%, 47.6%, 0%, 51.4%)
CIE-LABlab(27.89, 8.56, -37.63)
CIE-LCHlch(27.89, 38.60, 282.82°)
OKLaboklab(38.09% -0.0235 -0.108)
OKLCHoklch(38.09% 0.111 257.7)
XYZxyz(5.8804, 5.4173, 19.8006)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17417C #7C5217
analogous
#17747C #17417C #20177C
triadic
#17417C #7C1741 #417C17
tetradic
#17417C #7C1774 #7C5217 #177C20
square
#17417C #7C1774 #7C5217 #177C20
split-complementary
#17417C #7C2017 #747C17
monochromatic
#050E1A #0D2648 #17417C #215CB0 #3479D9

Accessibility & contrast

On white

10.08
#17417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#17417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17417C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17417C#FFFFFF#000000##FFFFFF
##17417C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#093E7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #17417c;
/* rgb */ color: rgb(23, 65, 124);
/* oklch */ color: oklch(38.1% 0.111 257.7);
Tailwind
colors: {
  custom: {
    50: '#6575a2',
    500: '#17417c',
    950: '#000000',
  },
}
SCSS
$custom: #17417c;
$custom-light: #6575a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17417c",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 215.05,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.11051,
    "h": 257.7
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#17417C
secondary
#B1813E
accent
#A33CEC
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #17417C

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

Preview Lab → · Contrast checker → · Palette generator →

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