#232c49
a deep, soft blue · warm · closest name: darkslategray
RGB
35, 44, 73
HSL
226°, 35%, 21%
CMYK
52, 40, 0, 71
Luminance
0.0264
Every format
| HEX | #232c49 |
| RGB | rgb(35, 44, 73) |
| HSL | hsl(226, 35%, 21%) |
| CMYK | cmyk(52%, 40%, 0%, 71%) |
| LAB | lab(18.5 5.5 -19.3) |
| LCH | lch(18.5 20.0 285.9) |
| OKLCH | oklch(0.300 0.054 269.8) |
Copy-ready code
/* CSS */
color: #232c49;
background-color: #232c49;
/* Tailwind (arbitrary) */
class="text-[#232c49] bg-[#232c49]"
/* SCSS */
$brand: #232c49;
/* SwiftUI */
Color(red: 0.137, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#232c49")Accessibility — WCAG contrast
Aa
#232c49 on white: 13.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#232c49 on black: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red13.7%
Green17.3%
Blue28.6%
CMYK percentages
Cyan52.1%
Magenta39.7%
Yellow0.0%
Key (black)71.4%
Color previews
#232c49 text on a black background
contrast 1.53:1
Card sample
#232c49 text on a white background
contrast 13.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #232c49;
Background color
Panel with #232c49 background
background-color: #232c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #232c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(35, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #232c49; background: linear-gradient(135deg, #232c49, #332349);