#17397D#17397D

#17397D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.122 H 262.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#17397D
RGBrgb(23, 57, 125)
HSLhsl(220, 69%, 29%)
HSVhsv(220, 82%, 49%)
CMYKcmyk(81.6%, 54.4%, 0%, 51%)
CIE-LABlab(25.53, 14.59, -42.08)
CIE-LCHlch(25.53, 44.53, 289.12°)
OKLaboklab(36.3% -0.0166 -0.1212)
OKLCHoklch(36.3% 0.122 262.2)
XYZxyz(5.5168, 4.5884, 19.9930)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17397D #7D5B17
analogous
#176C7D #17397D #28177D
triadic
#17397D #7D1739 #397D17
tetradic
#17397D #7D176C #7D5B17 #177D28
square
#17397D #7D176C #7D5B17 #177D28
split-complementary
#17397D #7D2817 #6C7D17
monochromatic
#050C1A #0D2149 #17397D #2151B1 #356CDA

Accessibility & contrast

On white

10.95
#17397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#17397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17397D
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17397D#FFFFFF#000000##FFFFFF
##17397D1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17397d;
/* rgb */ color: rgb(23, 57, 125);
/* oklch */ color: oklch(36.3% 0.122 262.2);
Tailwind
colors: {
  custom: {
    50: '#666ea3',
    500: '#17397d',
    950: '#000000',
  },
}
SCSS
$custom: #17397d;
$custom-light: #666ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#17397d",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 220,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.12236,
    "h": 262.2
  },
  "luminance": 0.04589
}

Semantic roles & 50–950 ramp

primary
#17397D
secondary
#B28B3E
accent
#B13CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #17397D

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

Preview Lab → · Contrast checker → · Palette generator →

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