#17478E#17478E

#17478E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.129 H 258.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#17478E
RGBrgb(23, 71, 142)
HSLhsl(216, 72%, 32%)
HSVhsv(216, 84%, 56%)
CMYKcmyk(83.8%, 50%, 0%, 44.3%)
CIE-LABlab(30.97, 11.86, -43.84)
CIE-LCHlch(30.97, 45.41, 285.14°)
OKLaboklab(40.87% -0.0253 -0.1261)
OKLCHoklch(40.87% 0.129 258.7)
XYZxyz(7.4873, 6.6407, 26.4731)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17478E #8E5E17
analogous
#17838E #17478E #22178E
triadic
#17478E #8E1747 #478E17
tetradic
#17478E #8E1783 #8E5E17 #178E22
square
#17478E #8E1783 #8E5E17 #178E22
split-complementary
#17478E #8E2217 #838E17
monochromatic
#061225 #0E2D59 #17478E #2061C3 #3F80E0

Accessibility & contrast

On white

9.02
#17478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17478E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17478E#FFFFFF#000000##FFFFFF
##17478E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17478e;
/* rgb */ color: rgb(23, 71, 142);
/* oklch */ color: oklch(40.9% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a79b0',
    500: '#17478e',
    950: '#000000',
  },
}
SCSS
$custom: #17478e;
$custom-light: #6a79b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17478e",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 215.798,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.12862,
    "h": 258.7
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#17478E
secondary
#C08D40
accent
#A539EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #17478E

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

Preview Lab → · Contrast checker → · Palette generator →

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