#17398D#17398D

#17398D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.145 H 264.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#17398D
RGBrgb(23, 57, 141)
HSLhsl(223, 72%, 32%)
HSVhsv(223, 84%, 55%)
CMYKcmyk(83.7%, 59.6%, 0%, 44.7%)
CIE-LABlab(26.82, 21.17, -49.96)
CIE-LCHlch(26.82, 54.26, 292.96°)
OKLaboklab(37.69% -0.0153 -0.1444)
OKLCHoklch(37.69% 0.145 264)
XYZxyz(6.6225, 5.0307, 25.8161)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398D #8D6B17
analogous
#17748D #17398D #30178D
triadic
#17398D #8D1739 #398D17
tetradic
#17398D #8D1774 #8D6B17 #178D30
square
#17398D #8D1774 #8D6B17 #178D30
split-complementary
#17398D #8D3017 #748D17
monochromatic
#060E24 #0E2458 #17398D #204EC2 #3F6DE0

Accessibility & contrast

On white

10.47
#17398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17398D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398D#FFFFFF#000000##FFFFFF
##17398D1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #17398d;
/* rgb */ color: rgb(23, 57, 141);
/* oklch */ color: oklch(37.7% 0.145 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a6eaf',
    500: '#17398d',
    950: '#000000',
  },
}
SCSS
$custom: #17398d;
$custom-light: #6a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#17398d",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 222.712,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.1452,
    "h": 264
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#17398D
secondary
#C09B40
accent
#BA39EF
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #17398D

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

Preview Lab → · Contrast checker → · Palette generator →

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