#17397C#17397C

#17397C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.2% C 0.121 H 262.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#17397C
RGBrgb(23, 57, 124)
HSLhsl(220, 69%, 29%)
HSVhsv(220, 81%, 49%)
CMYKcmyk(81.5%, 54%, 0%, 51.4%)
CIE-LABlab(25.45, 14.18, -41.57)
CIE-LCHlch(25.45, 43.92, 288.83°)
OKLaboklab(36.22% -0.0167 -0.1197)
OKLCHoklch(36.22% 0.121 262.1)
XYZxyz(5.4533, 4.5630, 19.6582)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17397C #7C5A17
analogous
#176C7C #17397C #28177C
triadic
#17397C #7C1739 #397C17
tetradic
#17397C #7C176C #7C5A17 #177C28
square
#17397C #7C176C #7C5A17 #177C28
split-complementary
#17397C #7C2817 #6C7C17
monochromatic
#050C1A #0D2148 #17397C #2151B0 #346CD9

Accessibility & contrast

On white

10.98
#17397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#17397C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17397C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17397C#FFFFFF#000000##FFFFFF
##17397C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #17397c;
/* rgb */ color: rgb(23, 57, 124);
/* oklch */ color: oklch(36.2% 0.121 262.1);
Tailwind
colors: {
  custom: {
    50: '#666ea2',
    500: '#17397c',
    950: '#000000',
  },
}
SCSS
$custom: #17397c;
$custom-light: #666ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#17397c",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 219.802,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.1209,
    "h": 262.1
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17397C

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

Preview Lab → · Contrast checker → · Palette generator →

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