#175f7b
a dark, vivid cyan · cool · closest name: darkslategray
RGB
23, 95, 123
HSL
197°, 69%, 29%
CMYK
81, 23, 0, 52
Luminance
0.0980
Every format
| HEX | #175f7b |
| RGB | rgb(23, 95, 123) |
| HSL | hsl(197, 69%, 29%) |
| CMYK | cmyk(81%, 23%, 0%, 52%) |
| LAB | lab(37.5 -11.2 -21.9) |
| LCH | lch(37.5 24.6 242.9) |
| OKLCH | oklch(0.456 0.081 229.3) |
Copy-ready code
/* CSS */
color: #175f7b;
background-color: #175f7b;
/* Tailwind (arbitrary) */
class="text-[#175f7b] bg-[#175f7b]"
/* SCSS */
$brand: #175f7b;
/* SwiftUI */
Color(red: 0.090, green: 0.373, blue: 0.482)
/* Android */
Color.parseColor("#175f7b")Accessibility — WCAG contrast
Aa
#175f7b on white: 7.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#175f7b on black: 2.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green37.3%
Blue48.2%
CMYK percentages
Cyan81.3%
Magenta22.8%
Yellow0.0%
Key (black)51.8%
Color previews
#175f7b text on a black background
contrast 2.96:1
Card sample
#175f7b text on a white background
contrast 7.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #175f7b;
Background color
Panel with #175f7b background
background-color: #175f7b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #175f7b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 95, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 95, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #175f7b; background: linear-gradient(135deg, #175f7b, #171C7B);