#173D7C#173D7C

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

Color values

HEX#173D7C
RGBrgb(23, 61, 124)
HSLhsl(217, 69%, 29%)
HSVhsv(217, 81%, 49%)
CMYKcmyk(81.5%, 50.8%, 0%, 51.4%)
CIE-LABlab(26.66, 11.36, -39.62)
CIE-LCHlch(26.66, 41.21, 285.99°)
OKLaboklab(37.14% -0.02 -0.1139)
OKLCHoklch(37.14% 0.116 260)
XYZxyz(5.6589, 4.9742, 19.7267)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D7C #7C5617
analogous
#17707C #173D7C #24177C
triadic
#173D7C #7C173D #3D7C17
tetradic
#173D7C #7C1770 #7C5617 #177C24
square
#173D7C #7C1770 #7C5617 #177C24
split-complementary
#173D7C #7C2417 #707C17
monochromatic
#050D1A #0D2448 #173D7C #2156B0 #3472D9

Accessibility & contrast

On white

10.53
#173D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D7C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D7C#FFFFFF#000000##FFFFFF
##173D7C1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173d7c;
/* rgb */ color: rgb(23, 61, 124);
/* oklch */ color: oklch(37.1% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#173d7c',
    950: '#000000',
  },
}
SCSS
$custom: #173d7c;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173d7c",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 217.426,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37143,
    "c": 0.11566,
    "h": 260
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#173D7C
secondary
#B1863E
accent
#AA3CEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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