#17428E#17428E

#17428E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.135 H 260.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#17428E
RGBrgb(23, 66, 142)
HSLhsl(218, 72%, 32%)
HSVhsv(218, 84%, 56%)
CMYKcmyk(83.8%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.49, 15.31, -46.24)
CIE-LCHlch(29.49, 48.71, 288.32°)
OKLaboklab(39.73% -0.0214 -0.1333)
OKLCHoklch(39.73% 0.135 260.9)
XYZxyz(7.1823, 6.0307, 26.3714)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17428E #8E6317
analogous
#177E8E #17428E #27178E
triadic
#17428E #8E1742 #428E17
tetradic
#17428E #8E177E #8E6317 #178E27
square
#17428E #8E177E #8E6317 #178E27
split-complementary
#17428E #8E2717 #7E8E17
monochromatic
#061125 #0E2A59 #17428E #205AC3 #3F79E0

Accessibility & contrast

On white

9.52
#17428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#17428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17428E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17428E#FFFFFF#000000##FFFFFF
##17428E1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17428e;
/* rgb */ color: rgb(23, 66, 142);
/* oklch */ color: oklch(39.7% 0.135 260.9);
Tailwind
colors: {
  custom: {
    50: '#6a75b0',
    500: '#17428e',
    950: '#000000',
  },
}
SCSS
$custom: #17428e;
$custom-light: #6a75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17428e",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 218.319,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39729,
    "c": 0.135,
    "h": 260.9
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#17428E
secondary
#C09240
accent
#AD39EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #17428E

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

Preview Lab → · Contrast checker → · Palette generator →

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