#245eb0
a dark, vivid blue · cool · closest name: royalblue
RGB
36, 94, 176
HSL
215°, 66%, 42%
CMYK
80, 47, 0, 31
Luminance
0.1152
Every format
| HEX | #245eb0 |
| RGB | rgb(36, 94, 176) |
| HSL | hsl(215, 66%, 42%) |
| CMYK | cmyk(80%, 47%, 0%, 31%) |
| LAB | lab(40.4 11.5 -49.0) |
| LCH | lch(40.4 50.3 283.2) |
| OKLCH | oklch(0.490 0.144 257.9) |
Copy-ready code
/* CSS */
color: #245eb0;
background-color: #245eb0;
/* Tailwind (arbitrary) */
class="text-[#245eb0] bg-[#245eb0]"
/* SCSS */
$brand: #245eb0;
/* SwiftUI */
Color(red: 0.141, green: 0.369, blue: 0.690)
/* Android */
Color.parseColor("#245eb0")Accessibility — WCAG contrast
Aa
#245eb0 on white: 6.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#245eb0 on black: 3.30:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.1%
Green36.9%
Blue69.0%
CMYK percentages
Cyan79.5%
Magenta46.6%
Yellow0.0%
Key (black)31.0%
Color previews
#245eb0 text on a black background
contrast 3.30:1
Card sample
#245eb0 text on a white background
contrast 6.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #245eb0;
Background color
Panel with #245eb0 background
background-color: #245eb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #245eb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(36, 94, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 94, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #245eb0; background: linear-gradient(135deg, #245eb0, #4724B0);