#173E7B#173E7B

#173E7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.113 H 259.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#173E7B
RGBrgb(23, 62, 123)
HSLhsl(217, 68%, 29%)
HSVhsv(217, 81%, 48%)
CMYKcmyk(81.3%, 49.6%, 0%, 51.8%)
CIE-LABlab(26.90, 10.24, -38.61)
CIE-LCHlch(26.90, 39.94, 284.85°)
OKLaboklab(37.3% -0.021 -0.1109)
OKLCHoklch(37.3% 0.113 259.3)
XYZxyz(5.6498, 5.0568, 19.4133)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E7B #7B5417
analogous
#17707B #173E7B #22177B
triadic
#173E7B #7B173E #3E7B17
tetradic
#173E7B #7B1770 #7B5417 #177B22
square
#173E7B #7B1770 #7B5417 #177B22
split-complementary
#173E7B #7B2217 #707B17
monochromatic
#050D1A #0D2447 #173E7B #2158AF #3374D9

Accessibility & contrast

On white

10.44
#173E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E7B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E7B#FFFFFF#000000##FFFFFF
##173E7B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173e7b;
/* rgb */ color: rgb(23, 62, 123);
/* oklch */ color: oklch(37.3% 0.113 259.3);
Tailwind
colors: {
  custom: {
    50: '#6572a2',
    500: '#173e7b',
    950: '#000000',
  },
}
SCSS
$custom: #173e7b;
$custom-light: #6572a2;
$custom-dark: #000000;
JSON
{
  "hex": "#173e7b",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 216.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37301,
    "c": 0.1129,
    "h": 259.3
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#173E7B
secondary
#B0833E
accent
#A73CEB
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #173E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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