#17418E#17418E

#17418E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.136 H 261.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#17418E
RGBrgb(23, 65, 142)
HSLhsl(219, 72%, 32%)
HSVhsv(219, 84%, 56%)
CMYKcmyk(83.8%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.20, 16.00, -46.71)
CIE-LCHlch(29.20, 49.38, 288.91°)
OKLaboklab(39.51% -0.0207 -0.1347)
OKLCHoklch(39.51% 0.136 261.3)
XYZxyz(7.1244, 5.9149, 26.3521)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418E #8E6417
analogous
#177C8E #17418E #29178E
triadic
#17418E #8E1741 #418E17
tetradic
#17418E #8E177C #8E6417 #178E29
square
#17418E #8E177C #8E6417 #178E29
split-complementary
#17418E #8E2917 #7C8E17
monochromatic
#061125 #0E2959 #17418E #2059C3 #3F78E0

Accessibility & contrast

On white

9.62
#17418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17418E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418E#FFFFFF#000000##FFFFFF
##17418E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17418e;
/* rgb */ color: rgb(23, 65, 142);
/* oklch */ color: oklch(39.5% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#17418e',
    950: '#000000',
  },
}
SCSS
$custom: #17418e;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17418e",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 218.824,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.13629,
    "h": 261.3
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#17418E
secondary
#C09340
accent
#AF39EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #17418E

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

Preview Lab → · Contrast checker → · Palette generator →

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