#17418F#17418F

#17418F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.138 H 261.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#17418F
RGBrgb(23, 65, 143)
HSLhsl(219, 72%, 33%)
HSVhsv(219, 84%, 56%)
CMYKcmyk(83.9%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.27, 16.42, -47.20)
CIE-LCHlch(29.27, 49.98, 289.18°)
OKLaboklab(39.59% -0.0206 -0.1361)
OKLCHoklch(39.59% 0.138 261.4)
XYZxyz(7.1998, 5.9450, 26.7493)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418F #8F6517
analogous
#177D8F #17418F #29178F
triadic
#17418F #8F1741 #418F17
tetradic
#17418F #8F177D #8F6517 #178F29
square
#17418F #8F177D #8F6517 #178F29
split-complementary
#17418F #8F2917 #7D8F17
monochromatic
#061126 #0F295A #17418F #1F59C4 #4078E0

Accessibility & contrast

On white

9.59
#17418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#17418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17418F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418F#FFFFFF#000000##FFFFFF
##17418F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17418f;
/* rgb */ color: rgb(23, 65, 143);
/* oklch */ color: oklch(39.6% 0.138 261.4);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#17418f',
    950: '#000000',
  },
}
SCSS
$custom: #17418f;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17418f",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 219,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.1377,
    "h": 261.4
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#17418F
secondary
#C19441
accent
#AF39EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #17418F

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

Preview Lab → · Contrast checker → · Palette generator →

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