#17397E#17397E

#17397E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.124 H 262.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#17397E
RGBrgb(23, 57, 126)
HSLhsl(220, 69%, 29%)
HSVhsv(220, 82%, 49%)
CMYKcmyk(81.7%, 54.8%, 0%, 50.6%)
CIE-LABlab(25.61, 15.00, -42.58)
CIE-LCHlch(25.61, 45.15, 289.41°)
OKLaboklab(36.39% -0.0165 -0.1227)
OKLCHoklch(36.39% 0.124 262.3)
XYZxyz(5.5810, 4.6141, 20.3311)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17397E #7E5C17
analogous
#176D7E #17397E #28177E
triadic
#17397E #7E1739 #397E17
tetradic
#17397E #7E176D #7E5C17 #177E28
square
#17397E #7E176D #7E5C17 #177E28
split-complementary
#17397E #7E2817 #6D7E17
monochromatic
#050C1A #0E224A #17397E #2050B2 #356CDA

Accessibility & contrast

On white

10.92
#17397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17397E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17397E#FFFFFF#000000##FFFFFF
##17397E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054280
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #17397e;
/* rgb */ color: rgb(23, 57, 126);
/* oklch */ color: oklch(36.4% 0.124 262.3);
Tailwind
colors: {
  custom: {
    50: '#666ea4',
    500: '#17397e',
    950: '#000000',
  },
}
SCSS
$custom: #17397e;
$custom-light: #666ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#17397e",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 220.194,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.12381,
    "h": 262.3
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17397E

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

Preview Lab → · Contrast checker → · Palette generator →

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