#9ba5cd
a light, soft blue · warm · closest name: steelblue
RGB
155, 165, 205
HSL
228°, 33%, 71%
CMYK
24, 20, 0, 20
Luminance
0.3829
Every format
| HEX | #9ba5cd |
| RGB | rgb(155, 165, 205) |
| HSL | hsl(228, 33%, 71%) |
| CMYK | cmyk(24%, 20%, 0%, 20%) |
| LAB | lab(68.2 5.2 -21.6) |
| LCH | lch(68.2 22.2 283.7) |
| OKLCH | oklch(0.728 0.059 273.9) |
Copy-ready code
/* CSS */
color: #9ba5cd;
background-color: #9ba5cd;
/* Tailwind (arbitrary) */
class="text-[#9ba5cd] bg-[#9ba5cd]"
/* SCSS */
$brand: #9ba5cd;
/* SwiftUI */
Color(red: 0.608, green: 0.647, blue: 0.804)
/* Android */
Color.parseColor("#9ba5cd")Accessibility — WCAG contrast
Aa
#9ba5cd on white: 2.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ba5cd on black: 8.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green64.7%
Blue80.4%
CMYK percentages
Cyan24.4%
Magenta19.5%
Yellow0.0%
Key (black)19.6%
Color previews
#9ba5cd text on a black background
contrast 8.66:1
Card sample
#9ba5cd text on a white background
contrast 2.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ba5cd;
Background color
Panel with #9ba5cd background
background-color: #9ba5cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ba5cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 165, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 165, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ba5cd; background: linear-gradient(135deg, #9ba5cd, #B29BCD);