#17418B#17418B

#17418B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.132 H 260.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#17418B
RGBrgb(23, 65, 139)
HSLhsl(218, 72%, 32%)
HSVhsv(218, 83%, 55%)
CMYKcmyk(83.5%, 53.2%, 0%, 45.5%)
CIE-LABlab(28.97, 14.77, -45.23)
CIE-LCHlch(28.97, 47.58, 288.08°)
OKLaboklab(39.26% -0.0211 -0.1303)
OKLCHoklch(39.26% 0.132 260.8)
XYZxyz(6.9022, 5.8260, 25.1818)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17418B #8B6117
analogous
#177B8B #17418B #27178B
triadic
#17418B #8B1741 #418B17
tetradic
#17418B #8B177B #8B6117 #178B27
square
#17418B #8B177B #8B6117 #178B27
split-complementary
#17418B #8B2717 #7B8B17
monochromatic
#061022 #0E2856 #17418B #205AC0 #3D78DF

Accessibility & contrast

On white

9.70
#17418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17418B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17418B#FFFFFF#000000##FFFFFF
##17418B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #17418b;
/* rgb */ color: rgb(23, 65, 139);
/* oklch */ color: oklch(39.3% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#17418b',
    950: '#000000',
  },
}
SCSS
$custom: #17418b;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17418b",
  "rgb": {
    "r": 23,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 218.276,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39261,
    "c": 0.13204,
    "h": 260.8
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#17418B
secondary
#BF903F
accent
#AD39EE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17418B

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

Preview Lab → · Contrast checker → · Palette generator →

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