#17478D#17478D

#17478D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.127 H 258.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#17478D
RGBrgb(23, 71, 141)
HSLhsl(216, 72%, 32%)
HSVhsv(216, 84%, 55%)
CMYKcmyk(83.7%, 49.6%, 0%, 44.7%)
CIE-LABlab(30.90, 11.45, -43.34)
CIE-LCHlch(30.90, 44.82, 284.80°)
OKLaboklab(40.79% -0.0254 -0.1246)
OKLCHoklch(40.79% 0.127 258.5)
XYZxyz(7.4125, 6.6108, 26.0795)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17478D #8D5D17
analogous
#17828D #17478D #22178D
triadic
#17478D #8D1747 #478D17
tetradic
#17478D #8D1782 #8D5D17 #178D22
square
#17478D #8D1782 #8D5D17 #178D22
split-complementary
#17478D #8D2217 #828D17
monochromatic
#061224 #0E2D58 #17478D #2061C2 #3F80E0

Accessibility & contrast

On white

9.04
#17478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#17478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17478D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17478D#FFFFFF#000000##FFFFFF
##17478D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17478d;
/* rgb */ color: rgb(23, 71, 141);
/* oklch */ color: oklch(40.8% 0.127 258.5);
Tailwind
colors: {
  custom: {
    50: '#6979af',
    500: '#17478d',
    950: '#000000',
  },
}
SCSS
$custom: #17478d;
$custom-light: #6979af;
$custom-dark: #000000;
JSON
{
  "hex": "#17478d",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 215.593,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40789,
    "c": 0.12722,
    "h": 258.5
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#17478D
secondary
#C08C40
accent
#A539EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #17478D

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

Preview Lab → · Contrast checker → · Palette generator →

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