#17398E#17398E

#17398E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.147 H 264.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#17398E
RGBrgb(23, 57, 142)
HSLhsl(223, 72%, 32%)
HSVhsv(223, 84%, 56%)
CMYKcmyk(83.8%, 59.9%, 0%, 44.3%)
CIE-LABlab(26.91, 21.57, -50.44)
CIE-LCHlch(26.91, 54.86, 293.16°)
OKLaboklab(37.78% -0.0152 -0.1458)
OKLCHoklch(37.78% 0.147 264)
XYZxyz(6.6972, 5.0606, 26.2098)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398E #8E6C17
analogous
#17758E #17398E #30178E
triadic
#17398E #8E1739 #398E17
tetradic
#17398E #8E1775 #8E6C17 #178E30
square
#17398E #8E1775 #8E6C17 #178E30
split-complementary
#17398E #8E3017 #758E17
monochromatic
#060F25 #0E2459 #17398E #204EC3 #3F6DE0

Accessibility & contrast

On white

10.44
#17398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#17398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17398E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398E#FFFFFF#000000##FFFFFF
##17398E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #17398e;
/* rgb */ color: rgb(23, 57, 142);
/* oklch */ color: oklch(37.8% 0.147 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a6eb0',
    500: '#17398e',
    950: '#000000',
  },
}
SCSS
$custom: #17398e;
$custom-light: #6a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#17398e",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 222.857,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37776,
    "c": 0.14659,
    "h": 264
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#17398E
secondary
#C09C40
accent
#BB39EF
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #17398E

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

Preview Lab → · Contrast checker → · Palette generator →

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