#5397b1
a balanced, soft cyan · cool · closest name: steelblue
RGB
83, 151, 177
HSL
197°, 38%, 51%
CMYK
53, 15, 0, 31
Luminance
0.2715
Every format
| HEX | #5397b1 |
| RGB | rgb(83, 151, 177) |
| HSL | hsl(197, 38%, 51%) |
| CMYK | cmyk(53%, 15%, 0%, 31%) |
| LAB | lab(59.1 -14.1 -20.2) |
| LCH | lch(59.1 24.6 235.0) |
| OKLCH | oklch(0.642 0.079 225.1) |
Copy-ready code
/* CSS */
color: #5397b1;
background-color: #5397b1;
/* Tailwind (arbitrary) */
class="text-[#5397b1] bg-[#5397b1]"
/* SCSS */
$brand: #5397b1;
/* SwiftUI */
Color(red: 0.325, green: 0.592, blue: 0.694)
/* Android */
Color.parseColor("#5397b1")Accessibility — WCAG contrast
Aa
#5397b1 on white: 3.27:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#5397b1 on black: 6.43:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green59.2%
Blue69.4%
CMYK percentages
Cyan53.1%
Magenta14.7%
Yellow0.0%
Key (black)30.6%
Color previews
#5397b1 text on a black background
contrast 6.43:1
Card sample
#5397b1 text on a white background
contrast 3.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5397b1;
Background color
Panel with #5397b1 background
background-color: #5397b1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5397b1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 151, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 151, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5397b1; background: linear-gradient(135deg, #5397b1, #5358B1);