#173D7A#173D7A

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

Color values

HEX#173D7A
RGBrgb(23, 61, 122)
HSLhsl(217, 68%, 28%)
HSVhsv(217, 81%, 48%)
CMYKcmyk(81.1%, 50%, 0%, 52.2%)
CIE-LABlab(26.52, 10.52, -38.59)
CIE-LCHlch(26.52, 40.00, 285.26°)
OKLaboklab(36.99% -0.0203 -0.1109)
OKLCHoklch(36.99% 0.113 259.6)
XYZxyz(5.5337, 4.9241, 19.0674)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D7A #7A5417
analogous
#176E7A #173D7A #22177A
triadic
#173D7A #7A173D #3D7A17
tetradic
#173D7A #7A176E #7A5417 #177A22
square
#173D7A #7A176E #7A5417 #177A22
split-complementary
#173D7A #7A2217 #6E7A17
monochromatic
#050D1A #0D2347 #173D7A #2157AD #3372D9

Accessibility & contrast

On white

10.58
#173D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173D7A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D7A#FFFFFF#000000##FFFFFF
##173D7A1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173d7a;
/* rgb */ color: rgb(23, 61, 122);
/* oklch */ color: oklch(37.0% 0.113 259.6);
Tailwind
colors: {
  custom: {
    50: '#6571a1',
    500: '#173d7a',
    950: '#000000',
  },
}
SCSS
$custom: #173d7a;
$custom-light: #6571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#173d7a",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 216.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36987,
    "c": 0.11273,
    "h": 259.6
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#173D7A
secondary
#AF843E
accent
#A83DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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