#17398A#17398A

#17398A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.141 H 263.7°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#17398A
RGBrgb(23, 57, 138)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 54%)
CMYKcmyk(83.3%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.57, 19.95, -48.51)
CIE-LCHlch(26.57, 52.45, 292.35°)
OKLaboklab(37.42% -0.0155 -0.1401)
OKLCHoklch(37.42% 0.141 263.7)
XYZxyz(6.4023, 4.9426, 24.6564)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398A #8A6817
analogous
#17738A #17398A #2F178A
triadic
#17398A #8A1739 #398A17
tetradic
#17398A #8A1773 #8A6817 #178A2F
square
#17398A #8A1773 #8A6817 #178A2F
split-complementary
#17398A #8A2F17 #738A17
monochromatic
#060E21 #0E2356 #17398A #204FBE #3D6DDF

Accessibility & contrast

On white

10.56
#17398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#17398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17398A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398A#FFFFFF#000000##FFFFFF
##17398A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #17398a;
/* rgb */ color: rgb(23, 57, 138);
/* oklch */ color: oklch(37.4% 0.141 263.7);
Tailwind
colors: {
  custom: {
    50: '#696ead',
    500: '#17398a',
    950: '#000000',
  },
}
SCSS
$custom: #17398a;
$custom-light: #696ead;
$custom-dark: #000000;
JSON
{
  "hex": "#17398a",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 222.261,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37418,
    "c": 0.14099,
    "h": 263.7
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#17398A
secondary
#BE983F
accent
#B93AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #17398A

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

Preview Lab → · Contrast checker → · Palette generator →

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