#9ba2cd
a light, soft blue · warm · closest name: steelblue
RGB
155, 162, 205
HSL
232°, 33%, 71%
CMYK
24, 21, 0, 20
Luminance
0.3722
Every format
| HEX | #9ba2cd |
| RGB | rgb(155, 162, 205) |
| HSL | hsl(232, 33%, 71%) |
| CMYK | cmyk(24%, 21%, 0%, 20%) |
| LAB | lab(67.4 6.9 -22.8) |
| LCH | lch(67.4 23.8 286.9) |
| OKLCH | oklch(0.722 0.063 277.5) |
Copy-ready code
/* CSS */
color: #9ba2cd;
background-color: #9ba2cd;
/* Tailwind (arbitrary) */
class="text-[#9ba2cd] bg-[#9ba2cd]"
/* SCSS */
$brand: #9ba2cd;
/* SwiftUI */
Color(red: 0.608, green: 0.635, blue: 0.804)
/* Android */
Color.parseColor("#9ba2cd")Accessibility — WCAG contrast
Aa
#9ba2cd on white: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#9ba2cd on black: 8.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.8%
Green63.5%
Blue80.4%
CMYK percentages
Cyan24.4%
Magenta21.0%
Yellow0.0%
Key (black)19.6%
Color previews
#9ba2cd text on a black background
contrast 8.44:1
Card sample
#9ba2cd text on a white background
contrast 2.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9ba2cd;
Background color
Panel with #9ba2cd background
background-color: #9ba2cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9ba2cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(155, 162, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 162, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9ba2cd; background: linear-gradient(135deg, #9ba2cd, #B59BCD);