#17498F#17498F

#17498F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.128 H 257.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#17498F
RGBrgb(23, 73, 143)
HSLhsl(215, 72%, 33%)
HSVhsv(215, 84%, 56%)
CMYKcmyk(83.9%, 49%, 0%, 43.9%)
CIE-LABlab(31.65, 10.90, -43.37)
CIE-LCHlch(31.65, 44.72, 284.11°)
OKLaboklab(41.4% -0.0267 -0.1247)
OKLCHoklch(41.4% 0.128 257.9)
XYZxyz(7.6920, 6.9295, 26.9134)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17498F #8F5D17
analogous
#17858F #17498F #21178F
triadic
#17498F #8F1749 #498F17
tetradic
#17498F #8F1785 #8F5D17 #178F21
square
#17498F #8F1785 #8F5D17 #178F21
split-complementary
#17498F #8F2117 #858F17
monochromatic
#061326 #0F2E5A #17498F #1F64C4 #4083E0

Accessibility & contrast

On white

8.80
#17498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#17498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17498F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17498F#FFFFFF#000000##FFFFFF
##17498F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #17498f;
/* rgb */ color: rgb(23, 73, 143);
/* oklch */ color: oklch(41.4% 0.128 257.9);
Tailwind
colors: {
  custom: {
    50: '#6a7bb0',
    500: '#17498f',
    950: '#000000',
  },
}
SCSS
$custom: #17498f;
$custom-light: #6a7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#17498f",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 215,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.12751,
    "h": 257.9
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#17498F
secondary
#C18C41
accent
#A339EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #17498F

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

Preview Lab → · Contrast checker → · Palette generator →

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