#17478F#17478F

#17478F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 40.9% C 0.130 H 258.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#17478F
RGBrgb(23, 71, 143)
HSLhsl(216, 72%, 33%)
HSVhsv(216, 84%, 56%)
CMYKcmyk(83.9%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.05, 12.27, -44.34)
CIE-LCHlch(31.05, 46.00, 285.47°)
OKLaboklab(40.94% -0.0251 -0.1276)
OKLCHoklch(40.94% 0.13 258.9)
XYZxyz(7.5627, 6.6709, 26.8703)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17478F #8F5F17
analogous
#17838F #17478F #23178F
triadic
#17478F #8F1747 #478F17
tetradic
#17478F #8F1783 #8F5F17 #178F23
square
#17478F #8F1783 #8F5F17 #178F23
split-complementary
#17478F #8F2317 #838F17
monochromatic
#061326 #0F2D5A #17478F #1F61C4 #4080E0

Accessibility & contrast

On white

9.00
#17478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#17478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17478F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17478F#FFFFFF#000000##FFFFFF
##17478F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17478f;
/* rgb */ color: rgb(23, 71, 143);
/* oklch */ color: oklch(40.9% 0.130 258.9);
Tailwind
colors: {
  custom: {
    50: '#6a79b0',
    500: '#17478f',
    950: '#000000',
  },
}
SCSS
$custom: #17478f;
$custom-light: #6a79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17478f",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 216,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40943,
    "c": 0.13003,
    "h": 258.9
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#17478F
secondary
#C18E41
accent
#A639EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #17478F

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

Preview Lab → · Contrast checker → · Palette generator →

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