#17428A#17428A

#17428A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.129 H 260.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#17428A
RGBrgb(23, 66, 138)
HSLhsl(218, 71%, 32%)
HSVhsv(218, 83%, 54%)
CMYKcmyk(83.3%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.19, 13.66, -44.25)
CIE-LCHlch(29.19, 46.32, 287.16°)
OKLaboklab(39.41% -0.022 -0.1274)
OKLCHoklch(39.41% 0.129 260.2)
XYZxyz(6.8873, 5.9127, 24.8181)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17428A #8A5F17
analogous
#177C8A #17428A #25178A
triadic
#17428A #8A1742 #428A17
tetradic
#17428A #8A177C #8A5F17 #178A25
square
#17428A #8A177C #8A5F17 #178A25
split-complementary
#17428A #8A2517 #7C8A17
monochromatic
#061021 #0E2956 #17428A #205BBE #3D79DF

Accessibility & contrast

On white

9.62
#17428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#17428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17428A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17428A#FFFFFF#000000##FFFFFF
##17428A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17428a;
/* rgb */ color: rgb(23, 66, 138);
/* oklch */ color: oklch(39.4% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#6975ad',
    500: '#17428a',
    950: '#000000',
  },
}
SCSS
$custom: #17428a;
$custom-light: #6975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#17428a",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 217.565,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.12933,
    "h": 260.2
  },
  "luminance": 0.05914
}

Semantic roles & 50–950 ramp

primary
#17428A
secondary
#BE8E3F
accent
#AB3AEE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #17428A

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

Preview Lab → · Contrast checker → · Palette generator →

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