#173F58#173F58

#173F58 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.2% C 0.062 H 239.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#173F58
RGBrgb(23, 63, 88)
HSLhsl(203, 59%, 22%)
HSVhsv(203, 74%, 35%)
CMYKcmyk(73.9%, 28.4%, 0%, 65.5%)
CIE-LABlab(25.08, -4.74, -19.05)
CIE-LCHlch(25.08, 19.63, 256.04°)
OKLaboklab(35.19% -0.0316 -0.0537)
OKLCHoklch(35.19% 0.062 239.5)
XYZxyz(3.8916, 4.4413, 9.8828)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F58 #583017
analogous
#175851 #173F58 #171F58
triadic
#173F58 #58173F #3F5817
tetradic
#173F58 #511758 #583017 #1F5817
square
#173F58 #511758 #583017 #1F5817
split-complementary
#173F58 #58171F #585117
monochromatic
#061118 #0A1C27 #173F58 #246289 #3084B9

Accessibility & contrast

On white

11.12
#173F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#173F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F58
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F58#FFFFFF#000000##FFFFFF
##173F581.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173f58;
/* rgb */ color: rgb(23, 63, 88);
/* oklch */ color: oklch(35.2% 0.062 239.5);
Tailwind
colors: {
  custom: {
    50: '#5d7387',
    500: '#173f58',
    950: '#000000',
  },
}
SCSS
$custom: #173f58;
$custom-light: #5d7387;
$custom-dark: #000000;
JSON
{
  "hex": "#173f58",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 88
  },
  "hsl": {
    "h": 203.077,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.06229,
    "h": 239.5
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#173F58
secondary
#8F5C3C
accent
#8246E2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #173F58

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

Preview Lab → · Contrast checker → · Palette generator →

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