#173D7D#173D7D

#173D7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.117 H 260.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#173D7D
RGBrgb(23, 61, 125)
HSLhsl(218, 69%, 29%)
HSVhsv(218, 82%, 49%)
CMYKcmyk(81.6%, 51.2%, 0%, 51%)
CIE-LABlab(26.73, 11.77, -40.13)
CIE-LCHlch(26.73, 41.82, 286.35°)
OKLaboklab(37.22% -0.0199 -0.1154)
OKLCHoklch(37.22% 0.117 260.2)
XYZxyz(5.7224, 4.9996, 20.0615)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D7D #7D5717
analogous
#17707D #173D7D #24177D
triadic
#173D7D #7D173D #3D7D17
tetradic
#173D7D #7D1770 #7D5717 #177D24
square
#173D7D #7D1770 #7D5717 #177D24
split-complementary
#173D7D #7D2417 #707D17
monochromatic
#050D1A #0D2449 #173D7D #2156B1 #3572DA

Accessibility & contrast

On white

10.50
#173D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D7D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D7D#FFFFFF#000000##FFFFFF
##173D7D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173d7d;
/* rgb */ color: rgb(23, 61, 125);
/* oklch */ color: oklch(37.2% 0.117 260.2);
Tailwind
colors: {
  custom: {
    50: '#6671a3',
    500: '#173d7d',
    950: '#000000',
  },
}
SCSS
$custom: #173d7d;
$custom-light: #6671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#173d7d",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 217.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.11711,
    "h": 260.2
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#173D7D
secondary
#B2873E
accent
#AA3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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