#1b445f
a deep, vivid blue · cool · closest name: darkslategray
RGB
27, 68, 95
HSL
204°, 56%, 24%
CMYK
72, 28, 0, 63
Luminance
0.0519
Every format
| HEX | #1b445f |
| RGB | rgb(27, 68, 95) |
| HSL | hsl(204, 56%, 24%) |
| CMYK | cmyk(72%, 28%, 0%, 63%) |
| LAB | lab(27.3 -4.5 -20.1) |
| LCH | lch(27.3 20.7 257.3) |
| OKLCH | oklch(0.371 0.065 240.6) |
Copy-ready code
/* CSS */
color: #1b445f;
background-color: #1b445f;
/* Tailwind (arbitrary) */
class="text-[#1b445f] bg-[#1b445f]"
/* SCSS */
$brand: #1b445f;
/* SwiftUI */
Color(red: 0.106, green: 0.267, blue: 0.373)
/* Android */
Color.parseColor("#1b445f")Accessibility — WCAG contrast
Aa
#1b445f on white: 10.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b445f on black: 2.04:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green26.7%
Blue37.3%
CMYK percentages
Cyan71.6%
Magenta28.4%
Yellow0.0%
Key (black)62.7%
Color previews
#1b445f text on a black background
contrast 2.04:1
Card sample
#1b445f text on a white background
contrast 10.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b445f;
Background color
Panel with #1b445f background
background-color: #1b445f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b445f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 68, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 68, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b445f; background: linear-gradient(135deg, #1b445f, #1F1B5F);