#17397F#17397F

#17397F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.125 H 262.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#17397F
RGBrgb(23, 57, 127)
HSLhsl(220, 69%, 29%)
HSVhsv(220, 82%, 50%)
CMYKcmyk(81.9%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.68, 15.42, -43.08)
CIE-LCHlch(25.68, 45.76, 289.69°)
OKLaboklab(36.47% -0.0164 -0.1242)
OKLCHoklch(36.47% 0.125 262.5)
XYZxyz(5.6459, 4.6401, 20.6726)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17397F #7F5D17
analogous
#176D7F #17397F #29177F
triadic
#17397F #7F1739 #397F17
tetradic
#17397F #7F176D #7F5D17 #177F29
square
#17397F #7F176D #7F5D17 #177F29
split-complementary
#17397F #7F2917 #6D7F17
monochromatic
#050C1A #0E224B #17397F #2050B3 #366CDB

Accessibility & contrast

On white

10.89
#17397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#17397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17397F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17397F#FFFFFF#000000##FFFFFF
##17397F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034281
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #17397f;
/* rgb */ color: rgb(23, 57, 127);
/* oklch */ color: oklch(36.5% 0.125 262.5);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#17397f',
    950: '#000000',
  },
}
SCSS
$custom: #17397f;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#17397f",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 220.385,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36469,
    "c": 0.12527,
    "h": 262.5
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#17397F
secondary
#B48D3E
accent
#B23CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #17397F

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

Preview Lab → · Contrast checker → · Palette generator →

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