#173E7E#173E7E

#173E7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.117 H 259.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#173E7E
RGBrgb(23, 62, 126)
HSLhsl(217, 69%, 29%)
HSVhsv(217, 82%, 49%)
CMYKcmyk(81.7%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.11, 11.48, -40.15)
CIE-LCHlch(27.11, 41.76, 285.96°)
OKLaboklab(37.53% -0.0205 -0.1154)
OKLCHoklch(37.53% 0.117 259.9)
XYZxyz(5.8405, 5.1331, 20.4176)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E7E #7E5717
analogous
#17727E #173E7E #24177E
triadic
#173E7E #7E173E #3E7E17
tetradic
#173E7E #7E1772 #7E5717 #177E24
square
#173E7E #7E1772 #7E5717 #177E24
split-complementary
#173E7E #7E2417 #727E17
monochromatic
#050D1A #0E254A #173E7E #2057B2 #3574DA

Accessibility & contrast

On white

10.36
#173E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#173E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E7E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E7E#FFFFFF#000000##FFFFFF
##173E7E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173e7e;
/* rgb */ color: rgb(23, 62, 126);
/* oklch */ color: oklch(37.5% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#6672a4',
    500: '#173e7e',
    950: '#000000',
  },
}
SCSS
$custom: #173e7e;
$custom-light: #6672a4;
$custom-dark: #000000;
JSON
{
  "hex": "#173e7e",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 217.282,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.11726,
    "h": 259.9
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#173E7E
secondary
#B3873E
accent
#A93CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #173E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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