#173F79#173F79

#173F79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.109 H 258.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#173F79
RGBrgb(23, 63, 121)
HSLhsl(216, 68%, 28%)
HSVhsv(216, 81%, 47%)
CMYKcmyk(81%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.07, 8.71, -37.08)
CIE-LCHlch(27.07, 38.09, 283.22°)
OKLaboklab(37.39% -0.0223 -0.1064)
OKLCHoklch(37.39% 0.109 258.2)
XYZxyz(5.5808, 5.1170, 18.7790)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F79 #795117
analogous
#177079 #173F79 #201779
triadic
#173F79 #79173F #3F7917
tetradic
#173F79 #791770 #795117 #177920
square
#173F79 #791770 #795117 #177920
split-complementary
#173F79 #792017 #707917
monochromatic
#050D1A #0D2446 #173F79 #215AAC #3276D8

Accessibility & contrast

On white

10.38
#173F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#173F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F79
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F79#FFFFFF#000000##FFFFFF
##173F791.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#083C78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173f79;
/* rgb */ color: rgb(23, 63, 121);
/* oklch */ color: oklch(37.4% 0.109 258.2);
Tailwind
colors: {
  custom: {
    50: '#6573a0',
    500: '#173f79',
    950: '#000000',
  },
}
SCSS
$custom: #173f79;
$custom-light: #6573a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173f79",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 215.51,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.1087,
    "h": 258.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#173F79
secondary
#AE803E
accent
#A43DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #173F79

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

Preview Lab → · Contrast checker → · Palette generator →

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