#173D79#173D79

#173D79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.111 H 259.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#173D79
RGBrgb(23, 61, 121)
HSLhsl(217, 68%, 28%)
HSVhsv(217, 81%, 47%)
CMYKcmyk(81%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.45, 10.11, -38.07)
CIE-LCHlch(26.45, 39.39, 284.87°)
OKLaboklab(36.91% -0.0205 -0.1094)
OKLCHoklch(36.91% 0.111 259.4)
XYZxyz(5.4720, 4.8995, 18.7428)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D79 #795317
analogous
#176E79 #173D79 #221779
triadic
#173D79 #79173D #3D7917
tetradic
#173D79 #79176E #795317 #177922
square
#173D79 #79176E #795317 #177922
split-complementary
#173D79 #792217 #6E7917
monochromatic
#050D1A #0D2346 #173D79 #2157AC #3273D8

Accessibility & contrast

On white

10.61
#173D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#173D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D79
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D79#FFFFFF#000000##FFFFFF
##173D791.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173d79;
/* rgb */ color: rgb(23, 61, 121);
/* oklch */ color: oklch(36.9% 0.111 259.4);
Tailwind
colors: {
  custom: {
    50: '#6571a0',
    500: '#173d79',
    950: '#000000',
  },
}
SCSS
$custom: #173d79;
$custom-light: #6571a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173d79",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 216.735,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.11128,
    "h": 259.4
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#173D79
secondary
#AE833E
accent
#A73DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173D79

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

Preview Lab → · Contrast checker → · Palette generator →

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