Skip to content

#175f7e

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

RGB
23, 95, 126
HSL
198°, 69%, 29%
CMYK
82, 25, 0, 51
Luminance
0.0987

At a glance

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

Hex
#175f7e
Hue
198°
cyan
Saturation
69%
vivid
Lightness
29%
dark
Brightness
49%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0987
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
7.06:1
Closest name
Dark Slate Gray
ΔE2000 13.8
Where it sits
Hue198° of 360°
Saturation69%
Lightness29%
Temperature
Warm ← → Cool95% 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#175f7e
RGBrgb(23, 95, 126)
HSLhsl(198, 69%, 29%)
CMYKcmyk(82%, 25%, 0%, 51%)
LABlab(37.6 -10.1 -23.5)
LCHlch(37.6 25.6 246.8)
OKLCHoklch(0.458 0.084 232.0)
Decimal1531774
Display P3color(display-p3 0.090 0.373 0.494)

Copy-ready code

/* CSS */
color: #175f7e;
background-color: #175f7e;
/* Tailwind (arbitrary) */
class="text-[#175f7e] bg-[#175f7e]"
/* SCSS */
$brand: #175f7e;
/* SwiftUI */
Color(red: 0.090, green: 0.373, blue: 0.494)
/* Android */
Color.parseColor("#175f7e")
/* Flutter */
Color(0xFF175F7E)
/* Python / OpenCV (BGR) */
(126, 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 #175f7e · 7.06:1
Use #ffffffAAA at every size.
Aa
White text · 7.06:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.97:1
AA fail · AA large fail · AAA fail
Reading the other direction: #175f7e as text scores 7.06:1 on white and 2.97:1 on black.

Accessibility — WCAG contrast

Aa
#175f7e on white: 7.06:1
AA ✓ pass · AA-large · AAA
Aa
#175f7e on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4F5E7F
deuteranopia · #42547E
tritanopia · #006769

Color scale — 50 to 950

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

#F3F9FB
#E7F3F8
#CAE6F2
#A0D6EE
#71C2E5
#41AEDC
#269CCF
#2082AC
#175f7e
#164D64
#0E303F
Base = 800Lightest = 50 · #F3F9FBDarkest = 950 · #0E303F
:root {
  --brand-50: #F3F9FB;
  --brand-100: #E7F3F8;
  --brand-200: #CAE6F2;
  --brand-300: #A0D6EE;
  --brand-400: #71C2E5;
  --brand-500: #41AEDC;
  --brand-600: #269CCF;
  --brand-700: #2082AC;
  --brand-800: #175f7e;
  --brand-900: #164D64;
  --brand-950: #0E303F;
  --brand: #175f7e;
  --brand-ink: #ffffff;
}

Colors that work with #175f7e

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#F4F9FA
Tinted page background
Border#C0DFED
Hairlines and dividers
Muted text#4B839B
Captions on the surface
Accent#811A14
Second voice, not a rival
Dark variant#14516C
Hover, pressed, headers
Light variant#E9F6FB
Selected rows, tints
Dark surface#141F24
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 #175f7e

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#7E3617
Analogous left#177E6A
Analogous right#172B7E
Split-complement 1#7E172B
Split-complement 2#7E6A17
Triadic 1#7E175F
Triadic 2#5F7E17
Tetradic#6A177E

RGB percentages

Red9.0%
Green37.3%
Blue49.4%

CMYK percentages

Cyan81.7%
Magenta24.6%
Yellow0.0%
Key (black)50.6%

Color previews

#175f7e text on a black background

contrast 2.97:1

Card sample

#175f7e text on a white background

contrast 7.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #175f7e

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.

#175f7e 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.

#175f7e, answered

What color is #175f7e?

#175f7e is a dark vivid cyan, closest to Dark Slate Gray (ΔE2000 13.8). It sits at 198° on the hue wheel with 69% saturation and 29% lightness, which reads as cool.

What is the RGB value of #175f7e?

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

Is #175f7e a light or a dark color?

It is a dark color. Relative luminance is 0.0987 and perceived brightness is 33%, so white text on it reaches 7.06:1.

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

White. It scores 7.06:1 against #175f7e, versus 2.97:1 for black — AAA at any size.

What is the complementary color of #175f7e?

#7E3617 sits directly opposite on the wheel. Softer options are the split-complements #7E172B and #7E6A17, which give the same contrast with far less vibration.

What colors go well with #175f7e?

For interface work: #F4F9FA as the surface, #C0DFED for borders, #4B839B for secondary text, #811A14 as an accent and #14516C for hover and pressed states. For a palette, the analogous pair #177E6A and #172B7E stays calm, while #7E3617 is the loudest partner.

What is #175f7e in CMYK for printing?

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

Is #175f7e warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #177E77; nudged cooler, #16507F.

Work with #175f7e in the Color Lab