#287ba4
a dark, vivid cyan · cool · closest name: steelblue
RGB
40, 123, 164
HSL
200°, 61%, 40%
CMYK
76, 25, 0, 36
Luminance
0.1730
Every format
| HEX | #287ba4 |
| RGB | rgb(40, 123, 164) |
| HSL | hsl(200, 61%, 40%) |
| CMYK | cmyk(76%, 25%, 0%, 36%) |
| LAB | lab(48.6 -10.5 -29.0) |
| LCH | lch(48.6 30.8 250.2) |
| OKLCH | oklch(0.552 0.100 234.6) |
Copy-ready code
/* CSS */
color: #287ba4;
background-color: #287ba4;
/* Tailwind (arbitrary) */
class="text-[#287ba4] bg-[#287ba4]"
/* SCSS */
$brand: #287ba4;
/* SwiftUI */
Color(red: 0.157, green: 0.482, blue: 0.643)
/* Android */
Color.parseColor("#287ba4")Accessibility — WCAG contrast
Aa
#287ba4 on white: 4.71:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#287ba4 on black: 4.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green48.2%
Blue64.3%
CMYK percentages
Cyan75.6%
Magenta25.0%
Yellow0.0%
Key (black)35.7%
Color previews
#287ba4 text on a black background
contrast 4.46:1
Card sample
#287ba4 text on a white background
contrast 4.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #287ba4;
Background color
Panel with #287ba4 background
background-color: #287ba4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #287ba4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 123, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 123, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #287ba4; background: linear-gradient(135deg, #287ba4, #2828A4);