#17418C#17418C

#17418C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.133 H 261.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#17418C
RGBrgb(23, 65, 140)
HSLhsl(218, 72%, 32%)
HSVhsv(218, 84%, 55%)
CMYKcmyk(83.6%, 53.6%, 0%, 45.1%)
CIE-LABlab(29.04, 15.18, -45.73)
CIE-LCHlch(29.04, 48.18, 288.37°)
OKLaboklab(39.34% -0.0209 -0.1318)
OKLCHoklch(39.34% 0.133 261)
XYZxyz(6.9756, 5.8554, 25.5684)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418C #8C6217
analogous
#177B8C #17418C #28178C
triadic
#17418C #8C1741 #418C17
tetradic
#17418C #8C177B #8C6217 #178C28
square
#17418C #8C177B #8C6217 #178C28
split-complementary
#17418C #8C2817 #7B8C17
monochromatic
#061023 #0E2957 #17418C #2059C1 #3E78DF

Accessibility & contrast

On white

9.67
#17418C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#17418C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17418C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418C#FFFFFF#000000##FFFFFF
##17418C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17418c;
/* rgb */ color: rgb(23, 65, 140);
/* oklch */ color: oklch(39.3% 0.133 261.0);
Tailwind
colors: {
  custom: {
    50: '#6975ae',
    500: '#17418c',
    950: '#000000',
  },
}
SCSS
$custom: #17418c;
$custom-light: #6975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#17418c",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 218.462,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.13346,
    "h": 261
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

primary
#17418C
secondary
#BF913F
accent
#AD39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17418C

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

Preview Lab → · Contrast checker → · Palette generator →

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