#173E79#173E79

#173E79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.110 H 258.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#173E79
RGBrgb(23, 62, 121)
HSLhsl(216, 68%, 28%)
HSVhsv(216, 81%, 47%)
CMYKcmyk(81%, 48.8%, 0%, 52.5%)
CIE-LABlab(26.76, 9.41, -37.57)
CIE-LCHlch(26.76, 38.73, 284.06°)
OKLaboklab(37.15% -0.0214 -0.1079)
OKLCHoklch(37.15% 0.11 258.8)
XYZxyz(5.5259, 5.0072, 18.7607)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E79 #795217
analogous
#176F79 #173E79 #211779
triadic
#173E79 #79173E #3E7917
tetradic
#173E79 #79176F #795217 #177921
square
#173E79 #79176F #795217 #177921
split-complementary
#173E79 #792117 #6F7917
monochromatic
#050D1A #0D2446 #173E79 #2158AC #3274D8

Accessibility & contrast

On white

10.49
#173E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#173E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E79
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E79#FFFFFF#000000##FFFFFF
##173E791.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#033B78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173e79;
/* rgb */ color: rgb(23, 62, 121);
/* oklch */ color: oklch(37.1% 0.110 258.8);
Tailwind
colors: {
  custom: {
    50: '#6572a0',
    500: '#173e79',
    950: '#000000',
  },
}
SCSS
$custom: #173e79;
$custom-light: #6572a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173e79",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 216.122,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.10998,
    "h": 258.8
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#173E79
secondary
#AE813E
accent
#A63DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #173E79

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

Preview Lab → · Contrast checker → · Palette generator →

#173E79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva