#173F57#173F57

#173F57 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.061 H 238.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#173F57
RGBrgb(23, 63, 87)
HSLhsl(203, 58%, 22%)
HSVhsv(203, 74%, 34%)
CMYKcmyk(73.6%, 27.6%, 0%, 65.9%)
CIE-LABlab(25.03, -5.13, -18.48)
CIE-LCHlch(25.03, 19.18, 254.50°)
OKLaboklab(35.13% -0.032 -0.052)
OKLCHoklch(35.13% 0.061 238.4)
XYZxyz(3.8505, 4.4249, 9.6661)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F57 #572F17
analogous
#17574F #173F57 #171F57
triadic
#173F57 #57173F #3F5717
tetradic
#173F57 #4F1757 #572F17 #1F5717
square
#173F57 #4F1757 #572F17 #1F5717
split-complementary
#173F57 #57171F #574F17
monochromatic
#061218 #0A1C27 #173F57 #246287 #3185B8

Accessibility & contrast

On white

11.14
#173F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F57
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F57#FFFFFF#000000##FFFFFF
##173F571.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343F58
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#004547
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173f57;
/* rgb */ color: rgb(23, 63, 87);
/* oklch */ color: oklch(35.1% 0.061 238.4);
Tailwind
colors: {
  custom: {
    50: '#5d7386',
    500: '#173f57',
    950: '#000000',
  },
}
SCSS
$custom: #173f57;
$custom-light: #5d7386;
$custom-dark: #000000;
JSON
{
  "hex": "#173f57",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 87
  },
  "hsl": {
    "h": 202.5,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35131,
    "c": 0.06107,
    "h": 238.4
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#173F57
secondary
#8E5B3C
accent
#8146E1
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#05080B
muted
#797B7C

Preview Lab

Preview with #173F57

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

Preview Lab → · Contrast checker → · Palette generator →

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