#17398B#17398B

#17398B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.142 H 263.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#17398B
RGBrgb(23, 57, 139)
HSLhsl(222, 72%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(83.5%, 59%, 0%, 45.5%)
CIE-LABlab(26.65, 20.35, -48.99)
CIE-LCHlch(26.65, 53.05, 292.56°)
OKLaboklab(37.51% -0.0154 -0.1416)
OKLCHoklch(37.51% 0.142 263.8)
XYZxyz(6.4750, 4.9717, 25.0395)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17398B #8B6917
analogous
#17738B #17398B #2F178B
triadic
#17398B #8B1739 #398B17
tetradic
#17398B #8B1773 #8B6917 #178B2F
square
#17398B #8B1773 #8B6917 #178B2F
split-complementary
#17398B #8B2F17 #738B17
monochromatic
#060E22 #0E2356 #17398B #204FC0 #3D6DDF

Accessibility & contrast

On white

10.53
#17398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17398B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17398B#FFFFFF#000000##FFFFFF
##17398B1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17398b;
/* rgb */ color: rgb(23, 57, 139);
/* oklch */ color: oklch(37.5% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a6eae',
    500: '#17398b',
    950: '#000000',
  },
}
SCSS
$custom: #17398b;
$custom-light: #6a6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#17398b",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 222.414,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.1424,
    "h": 263.8
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#17398B
secondary
#BF993F
accent
#B939EE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #17398B

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

Preview Lab → · Contrast checker → · Palette generator →

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