#36498c
a dark, soft blue · warm · closest name: midnightblue
RGB
54, 73, 140
HSL
227°, 44%, 38%
CMYK
61, 48, 0, 45
Luminance
0.0744
Every format
| HEX | #36498c |
| RGB | rgb(54, 73, 140) |
| HSL | hsl(227, 44%, 38%) |
| CMYK | cmyk(61%, 48%, 0%, 45%) |
| LAB | lab(32.8 14.5 -39.6) |
| LCH | lch(32.8 42.2 290.1) |
| OKLCH | oklch(0.426 0.113 269.3) |
Copy-ready code
/* CSS */
color: #36498c;
background-color: #36498c;
/* Tailwind (arbitrary) */
class="text-[#36498c] bg-[#36498c]"
/* SCSS */
$brand: #36498c;
/* SwiftUI */
Color(red: 0.212, green: 0.286, blue: 0.549)
/* Android */
Color.parseColor("#36498c")Accessibility — WCAG contrast
Aa
#36498c on white: 8.44:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#36498c on black: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green28.6%
Blue54.9%
CMYK percentages
Cyan61.4%
Magenta47.9%
Yellow0.0%
Key (black)45.1%
Color previews
#36498c text on a black background
contrast 2.49:1
Card sample
#36498c text on a white background
contrast 8.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #36498c;
Background color
Panel with #36498c background
background-color: #36498c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #36498c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 73, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 73, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #36498c; background: linear-gradient(135deg, #36498c, #5C368C);