#17418D#17418D

#17418D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.135 H 261.1°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#17418D
RGBrgb(23, 65, 141)
HSLhsl(219, 72%, 32%)
HSVhsv(219, 84%, 55%)
CMYKcmyk(83.7%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.12, 15.59, -46.22)
CIE-LCHlch(29.12, 48.78, 288.64°)
OKLaboklab(39.42% -0.0208 -0.1333)
OKLCHoklch(39.42% 0.135 261.1)
XYZxyz(7.0496, 5.8850, 25.9585)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418D #8D6317
analogous
#177C8D #17418D #28178D
triadic
#17418D #8D1741 #418D17
tetradic
#17418D #8D177C #8D6317 #178D28
square
#17418D #8D177C #8D6317 #178D28
split-complementary
#17418D #8D2817 #7C8D17
monochromatic
#061024 #0E2958 #17418D #2059C2 #3F78E0

Accessibility & contrast

On white

9.65
#17418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#17418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17418D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418D#FFFFFF#000000##FFFFFF
##17418D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17418d;
/* rgb */ color: rgb(23, 65, 141);
/* oklch */ color: oklch(39.4% 0.135 261.1);
Tailwind
colors: {
  custom: {
    50: '#6a75af',
    500: '#17418d',
    950: '#000000',
  },
}
SCSS
$custom: #17418d;
$custom-light: #6a75af;
$custom-dark: #000000;
JSON
{
  "hex": "#17418d",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 218.644,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.13488,
    "h": 261.1
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#17418D
secondary
#C09240
accent
#AE39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #17418D

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

Preview Lab → · Contrast checker → · Palette generator →

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