#17478C#17478C

#17478C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.7% C 0.126 H 258.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#17478C
RGBrgb(23, 71, 140)
HSLhsl(215, 72%, 32%)
HSVhsv(215, 84%, 55%)
CMYKcmyk(83.6%, 49.3%, 0%, 45.1%)
CIE-LABlab(30.83, 11.04, -42.84)
CIE-LCHlch(30.83, 44.24, 284.45°)
OKLaboklab(40.71% -0.0256 -0.1232)
OKLCHoklch(40.71% 0.126 258.3)
XYZxyz(7.3385, 6.5812, 25.6894)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17478C #8C5C17
analogous
#17828C #17478C #22178C
triadic
#17478C #8C1747 #478C17
tetradic
#17478C #8C1782 #8C5C17 #178C22
square
#17478C #8C1782 #8C5C17 #178C22
split-complementary
#17478C #8C2217 #828C17
monochromatic
#061223 #0E2C57 #17478C #2062C1 #3E80DF

Accessibility & contrast

On white

9.07
#17478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17478C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17478C#FFFFFF#000000##FFFFFF
##17478C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17478c;
/* rgb */ color: rgb(23, 71, 140);
/* oklch */ color: oklch(40.7% 0.126 258.3);
Tailwind
colors: {
  custom: {
    50: '#6979ae',
    500: '#17478c',
    950: '#000000',
  },
}
SCSS
$custom: #17478c;
$custom-light: #6979ae;
$custom-dark: #000000;
JSON
{
  "hex": "#17478c",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 215.385,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.1258,
    "h": 258.3
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#17478C
secondary
#BF8B3F
accent
#A439EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #17478C

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

Preview Lab → · Contrast checker → · Palette generator →

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