#173E7A#173E7A

#173E7A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.111 H 259.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#173E7A
RGBrgb(23, 62, 122)
HSLhsl(216, 68%, 28%)
HSVhsv(216, 81%, 48%)
CMYKcmyk(81.1%, 49.2%, 0%, 52.2%)
CIE-LABlab(26.83, 9.82, -38.09)
CIE-LCHlch(26.83, 39.34, 284.46°)
OKLaboklab(37.22% -0.0212 -0.1094)
OKLCHoklch(37.22% 0.111 259)
XYZxyz(5.5875, 5.0319, 19.0853)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E7A #7A5317
analogous
#176F7A #173E7A #22177A
triadic
#173E7A #7A173E #3E7A17
tetradic
#173E7A #7A176F #7A5317 #177A22
square
#173E7A #7A176F #7A5317 #177A22
split-complementary
#173E7A #7A2217 #6F7A17
monochromatic
#050D1A #0D2447 #173E7A #2158AD #3374D9

Accessibility & contrast

On white

10.47
#173E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E7A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E7A#FFFFFF#000000##FFFFFF
##173E7A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#013B79
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173e7a;
/* rgb */ color: rgb(23, 62, 122);
/* oklch */ color: oklch(37.2% 0.111 259.0);
Tailwind
colors: {
  custom: {
    50: '#6572a1',
    500: '#173e7a',
    950: '#000000',
  },
}
SCSS
$custom: #173e7a;
$custom-light: #6572a1;
$custom-dark: #000000;
JSON
{
  "hex": "#173e7a",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 216.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.11144,
    "h": 259
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#173E7A
secondary
#AF823E
accent
#A63DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #173E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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