#173C7D#173C7D

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

Color values

HEX#173C7D
RGBrgb(23, 60, 125)
HSLhsl(218, 69%, 29%)
HSVhsv(218, 82%, 49%)
CMYKcmyk(81.6%, 52%, 0%, 51%)
CIE-LABlab(26.43, 12.47, -40.62)
CIE-LCHlch(26.43, 42.49, 287.07°)
OKLaboklab(36.99% -0.019 -0.1169)
OKLCHoklch(36.99% 0.118 260.8)
XYZxyz(5.6695, 4.8939, 20.0439)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7D #7D5817
analogous
#176F7D #173C7D #25177D
triadic
#173C7D #7D173C #3C7D17
tetradic
#173C7D #7D176F #7D5817 #177D25
square
#173C7D #7D176F #7D5817 #177D25
split-complementary
#173C7D #7D2517 #6F7D17
monochromatic
#050C1A #0D2349 #173C7D #2155B1 #3571DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173C7D#FFFFFF#000000##FFFFFF
##173C7D1.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)
#14437F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173c7d;
/* rgb */ color: rgb(23, 60, 125);
/* oklch */ color: oklch(37.0% 0.118 260.8);
Tailwind
colors: {
  custom: {
    50: '#6671a3',
    500: '#173c7d',
    950: '#000000',
  },
}
SCSS
$custom: #173c7d;
$custom-light: #6671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7d",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 218.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3699,
    "c": 0.11842,
    "h": 260.8
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#173C7D
secondary
#B2883E
accent
#AC3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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