#173B51#173B51

#173B51 is a dark, muted cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.057 H 238.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#173B51
RGBrgb(23, 59, 81)
HSLhsl(203, 56%, 20%)
HSVhsv(203, 72%, 32%)
CMYKcmyk(71.6%, 27.2%, 0%, 68.2%)
CIE-LABlab(23.35, -4.84, -17.15)
CIE-LCHlch(23.35, 17.82, 254.25°)
OKLaboklab(33.7% -0.0295 -0.0482)
OKLCHoklch(33.7% 0.057 238.5)
XYZxyz(3.4019, 3.9038, 8.3572)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B51 #512D17
analogous
#17514A #173B51 #171E51
triadic
#173B51 #51173B #3B5117
tetradic
#173B51 #4A1751 #512D17 #1E5117
square
#173B51 #4A1751 #512D17 #1E5117
split-complementary
#173B51 #51171E #514A17
monochromatic
#071118 #091821 #173B51 #255E81 #3280B0

Accessibility & contrast

On white

11.79
#173B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B51
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B51#FFFFFF#000000##FFFFFF
##173B511.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#293551
Tritanopia (blue-blind)
#004142
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173b51;
/* rgb */ color: rgb(23, 59, 81);
/* oklch */ color: oklch(33.7% 0.057 238.5);
Tailwind
colors: {
  custom: {
    50: '#5c7082',
    500: '#173b51',
    950: '#000000',
  },
}
SCSS
$custom: #173b51;
$custom-light: #5c7082;
$custom-dark: #000000;
JSON
{
  "hex": "#173b51",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 81
  },
  "hsl": {
    "h": 202.759,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.337,
    "c": 0.05654,
    "h": 238.5
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#173B51
secondary
#88593C
accent
#8249DF
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #173B51

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

Preview Lab → · Contrast checker → · Palette generator →

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