#17398C#17398C

#17398C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.144 H 263.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#17398C
RGBrgb(23, 57, 140)
HSLhsl(223, 72%, 32%)
HSVhsv(223, 84%, 55%)
CMYKcmyk(83.6%, 59.3%, 0%, 45.1%)
CIE-LABlab(26.74, 20.76, -49.47)
CIE-LCHlch(26.74, 53.65, 292.76°)
OKLaboklab(37.6% -0.0153 -0.143)
OKLCHoklch(37.6% 0.144 263.9)
XYZxyz(6.5484, 5.0011, 25.4260)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398C #8C6A17
analogous
#17748C #17398C #30178C
triadic
#17398C #8C1739 #398C17
tetradic
#17398C #8C1774 #8C6A17 #178C30
square
#17398C #8C1774 #8C6A17 #178C30
split-complementary
#17398C #8C3017 #748C17
monochromatic
#060E23 #0E2457 #17398C #204EC1 #3E6DDF

Accessibility & contrast

On white

10.50
#17398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#17398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17398C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398C#FFFFFF#000000##FFFFFF
##17398C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #17398c;
/* rgb */ color: rgb(23, 57, 140);
/* oklch */ color: oklch(37.6% 0.144 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a6eae',
    500: '#17398c',
    950: '#000000',
  },
}
SCSS
$custom: #17398c;
$custom-light: #6a6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#17398c",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 222.564,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37596,
    "c": 0.1438,
    "h": 263.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#17398C
secondary
#BF9A3F
accent
#BA39EF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #17398C

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

Preview Lab → · Contrast checker → · Palette generator →

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