#173D7B#173D7B

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

Color values

HEX#173D7B
RGBrgb(23, 61, 123)
HSLhsl(217, 68%, 29%)
HSVhsv(217, 81%, 48%)
CMYKcmyk(81.3%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.59, 10.94, -39.10)
CIE-LCHlch(26.59, 40.60, 285.63°)
OKLaboklab(37.07% -0.0202 -0.1124)
OKLCHoklch(37.07% 0.114 259.8)
XYZxyz(5.5959, 4.9491, 19.3954)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D7B #7B5517
analogous
#176F7B #173D7B #23177B
triadic
#173D7B #7B173D #3D7B17
tetradic
#173D7B #7B176F #7B5517 #177B23
square
#173D7B #7B176F #7B5517 #177B23
split-complementary
#173D7B #7B2317 #6F7B17
monochromatic
#050D1A #0D2347 #173D7B #2157AF #3372D9

Accessibility & contrast

On white

10.55
#173D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D7B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D7B#FFFFFF#000000##FFFFFF
##173D7B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173d7b;
/* rgb */ color: rgb(23, 61, 123);
/* oklch */ color: oklch(37.1% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#173d7b',
    950: '#000000',
  },
}
SCSS
$custom: #173d7b;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173d7b",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 217.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37065,
    "c": 0.1142,
    "h": 259.8
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#173D7B
secondary
#B0853E
accent
#A93CEB
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #173D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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