#173B7D#173B7D

#173B7D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.120 H 261.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#173B7D
RGBrgb(23, 59, 125)
HSLhsl(219, 69%, 29%)
HSVhsv(219, 82%, 49%)
CMYKcmyk(81.6%, 52.8%, 0%, 51%)
CIE-LABlab(26.13, 13.18, -41.10)
CIE-LCHlch(26.13, 43.17, 287.77°)
OKLaboklab(36.76% -0.0182 -0.1183)
OKLCHoklch(36.76% 0.12 261.3)
XYZxyz(5.6176, 4.7901, 20.0266)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B7D #7D5917
analogous
#176E7D #173B7D #26177D
triadic
#173B7D #7D173B #3B7D17
tetradic
#173B7D #7D176E #7D5917 #177D26
square
#173B7D #7D176E #7D5917 #177D26
split-complementary
#173B7D #7D2617 #6E7D17
monochromatic
#050C1A #0D2349 #173B7D #2153B1 #356FDA

Accessibility & contrast

On white

10.72
#173B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B7D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B7D#FFFFFF#000000##FFFFFF
##173B7D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10437F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173b7d;
/* rgb */ color: rgb(23, 59, 125);
/* oklch */ color: oklch(36.8% 0.120 261.3);
Tailwind
colors: {
  custom: {
    50: '#6670a3',
    500: '#173b7d',
    950: '#000000',
  },
}
SCSS
$custom: #173b7d;
$custom-light: #6670a3;
$custom-dark: #000000;
JSON
{
  "hex": "#173b7d",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 218.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.11972,
    "h": 261.3
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#173B7D
secondary
#B2893E
accent
#AE3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #173B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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