#17397A#17397A

#17397A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.118 H 261.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#17397A
RGBrgb(23, 57, 122)
HSLhsl(219, 68%, 28%)
HSVhsv(219, 81%, 48%)
CMYKcmyk(81.1%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.30, 13.34, -40.55)
CIE-LCHlch(25.30, 42.69, 288.21°)
OKLaboklab(36.06% -0.017 -0.1167)
OKLCHoklch(36.06% 0.118 261.7)
XYZxyz(5.3281, 4.5129, 18.9989)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17397A #7A5817
analogous
#176A7A #17397A #26177A
triadic
#17397A #7A1739 #397A17
tetradic
#17397A #7A176A #7A5817 #177A26
square
#17397A #7A176A #7A5817 #177A26
split-complementary
#17397A #7A2617 #6A7A17
monochromatic
#050C1A #0D2147 #17397A #2151AD #336CD9

Accessibility & contrast

On white

11.04
#17397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#17397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17397A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17397A#FFFFFF#000000##FFFFFF
##17397A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17397a;
/* rgb */ color: rgb(23, 57, 122);
/* oklch */ color: oklch(36.1% 0.118 261.7);
Tailwind
colors: {
  custom: {
    50: '#656ea1',
    500: '#17397a',
    950: '#000000',
  },
}
SCSS
$custom: #17397a;
$custom-light: #656ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#17397a",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 219.394,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36055,
    "c": 0.11798,
    "h": 261.7
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#17397A
secondary
#AF883E
accent
#AF3DEB
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #17397A

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

Preview Lab → · Contrast checker → · Palette generator →

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