#17398F#17398F

#17398F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.148 H 264.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#17398F
RGBrgb(23, 57, 143)
HSLhsl(223, 72%, 33%)
HSVhsv(223, 84%, 56%)
CMYKcmyk(83.9%, 60.1%, 0%, 43.9%)
CIE-LABlab(26.99, 21.98, -50.91)
CIE-LCHlch(26.99, 55.46, 293.35°)
OKLaboklab(37.87% -0.0152 -0.1472)
OKLCHoklch(37.87% 0.148 264.1)
XYZxyz(6.7726, 5.0908, 26.6069)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398F #8F6D17
analogous
#17758F #17398F #31178F
triadic
#17398F #8F1739 #398F17
tetradic
#17398F #8F1775 #8F6D17 #178F31
square
#17398F #8F1775 #8F6D17 #178F31
split-complementary
#17398F #8F3117 #758F17
monochromatic
#060F26 #0F245A #17398F #1F4EC4 #406DE0

Accessibility & contrast

On white

10.40
#17398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#17398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17398F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398F#FFFFFF#000000##FFFFFF
##17398F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #17398f;
/* rgb */ color: rgb(23, 57, 143);
/* oklch */ color: oklch(37.9% 0.148 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b6eb1',
    500: '#17398f',
    950: '#000000',
  },
}
SCSS
$custom: #17398f;
$custom-light: #6b6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#17398f",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 223,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37866,
    "c": 0.14799,
    "h": 264.1
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#17398F
secondary
#C19D41
accent
#BB39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #17398F

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

Preview Lab → · Contrast checker → · Palette generator →

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