Skip to content

#175f5e

a deep, vivid cyan · cool · closest name: Dark Slate Gray

RGB
23, 95, 94
HSL
179°, 61%, 23%
CMYK
76, 0, 1, 63
Luminance
0.0917

At a glance

Every number on this page in one read: what #175f5e is made of, how bright it looks, and which way it leans.

Hex
#175f5e
Hue
179°
cyan
Saturation
61%
vivid
Lightness
23%
deep
Brightness
37%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0917
WCAG relative
Temperature
Cool
87/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
7.41:1
Closest name
Dark Slate Gray
ΔE2000 7.8
Where it sits
Hue179° of 360°
Saturation61%
Lightness23%
Temperature
Warm ← → Cool87% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#175f5e
RGBrgb(23, 95, 94)
HSLhsl(179, 61%, 23%)
CMYKcmyk(76%, 0%, 1%, 63%)
LABlab(36.3 -21.4 -5.7)
LCHlch(36.3 22.1 195.0)
OKLCHoklch(0.443 0.068 193.6)
Decimal1531742
Display P3color(display-p3 0.090 0.373 0.369)

Copy-ready code

/* CSS */
color: #175f5e;
background-color: #175f5e;
/* Tailwind (arbitrary) */
class="text-[#175f5e] bg-[#175f5e]"
/* SCSS */
$brand: #175f5e;
/* SwiftUI */
Color(red: 0.090, green: 0.373, blue: 0.369)
/* Android */
Color.parseColor("#175f5e")
/* Flutter */
Color(0xFF175F5E)
/* Python / OpenCV (BGR) */
(94, 95, 23)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #175f5e · 7.41:1
Use #ffffffAAA at every size.
Aa
White text · 7.41:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.83:1
AA fail · AA large fail · AAA fail
Reading the other direction: #175f5e as text scores 7.41:1 on white and 2.83:1 on black.

Accessibility — WCAG contrast

Aa
#175f5e on white: 7.41:1
AA ✓ pass · AA-large · AAA
Aa
#175f5e on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #595A5E
deuteranopia · #4E525F
tritanopia · #00625E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #175f5e is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4FBFB
#E8F7F7
#CCF0EF
#A5E9E8
#78DEDD
#4AD3D1
#30C5C3
#28A4A3
#208382
#175f5e
#113C3B
Base = 900Lightest = 50 · #F4FBFBDarkest = 950 · #113C3B
:root {
  --brand-50: #F4FBFB;
  --brand-100: #E8F7F7;
  --brand-200: #CCF0EF;
  --brand-300: #A5E9E8;
  --brand-400: #78DEDD;
  --brand-500: #4AD3D1;
  --brand-600: #30C5C3;
  --brand-700: #28A4A3;
  --brand-800: #208382;
  --brand-900: #175f5e;
  --brand-950: #113C3B;
  --brand: #175f5e;
  --brand-ink: #ffffff;
}

Colors that work with #175f5e

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4FAFA
Tinted page background
Border#C0EDEC
Hairlines and dividers
Muted text#4B9B9A
Captions on the surface
Accent#611529
Second voice, not a rival
Dark variant#196766
Hover, pressed, headers
Light variant#EAFAFA
Selected rows, tints
Dark surface#142424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #175f5e

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5F1718
Analogous left#175F3A
Analogous right#173C5F
Split-complement 1#5F173C
Split-complement 2#5F3A17
Triadic 1#5E175F
Triadic 2#5F5E17
Tetradic#3A175F

RGB percentages

Red9.0%
Green37.3%
Blue36.9%

CMYK percentages

Cyan75.8%
Magenta0.0%
Yellow1.1%
Key (black)62.7%

Color previews

#175f5e text on a black background

contrast 2.83:1

Card sample

#175f5e text on a white background

contrast 7.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #175f5e;
Background color
Panel with #175f5e background
background-color: #175f5e;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #175f5e;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 95, 94, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 95, 94, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175f5e;
background: linear-gradient(135deg, #175f5e, #17305F);

Monochromatic scale

Palettes built from #175f5e

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#175f5e in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#175f5e, answered

What color is #175f5e?

#175f5e is a deep vivid cyan, closest to Dark Slate Gray (ΔE2000 7.8). It sits at 179° on the hue wheel with 61% saturation and 23% lightness, which reads as cool.

What is the RGB value of #175f5e?

rgb(23, 95, 94) — 23 red, 95 green and 94 blue out of 255, or 9% / 37.3% / 36.9% by channel.

Is #175f5e a light or a dark color?

It is a dark color. Relative luminance is 0.0917 and perceived brightness is 32%, so white text on it reaches 7.41:1.

Should I use black or white text on #175f5e?

White. It scores 7.41:1 against #175f5e, versus 2.83:1 for black — AAA at any size.

What is the complementary color of #175f5e?

#5F1718 sits directly opposite on the wheel. Softer options are the split-complements #5F173C and #5F3A17, which give the same contrast with far less vibration.

What colors go well with #175f5e?

For interface work: #F4FAFA as the surface, #C0EDEC for borders, #4B9B9A for secondary text, #611529 as an accent and #196766 for hover and pressed states. For a palette, the analogous pair #175F3A and #173C5F stays calm, while #5F1718 is the loudest partner.

What is #175f5e in CMYK for printing?

cmyk(76%, 0%, 1%, 63%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #175f5e warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #175F44; nudged cooler, #164660.

Work with #175f5e in the Color Lab