#265df8
a balanced, electric blue · cool · closest name: royalblue
RGB
38, 93, 248
HSL
224°, 94%, 56%
CMYK
85, 63, 0, 3
Luminance
0.1502
Every format
| HEX | #265df8 |
| RGB | rgb(38, 93, 248) |
| HSL | hsl(224, 94%, 56%) |
| CMYK | cmyk(85%, 63%, 0%, 3%) |
| LAB | lab(45.7 39.6 -81.8) |
| LCH | lch(45.7 90.9 295.8) |
| OKLCH | oklch(0.546 0.238 264.5) |
Copy-ready code
/* CSS */
color: #265df8;
background-color: #265df8;
/* Tailwind (arbitrary) */
class="text-[#265df8] bg-[#265df8]"
/* SCSS */
$brand: #265df8;
/* SwiftUI */
Color(red: 0.149, green: 0.365, blue: 0.973)
/* Android */
Color.parseColor("#265df8")Accessibility — WCAG contrast
Aa
#265df8 on white: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#265df8 on black: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green36.5%
Blue97.3%
CMYK percentages
Cyan84.7%
Magenta62.5%
Yellow0.0%
Key (black)2.7%
Color previews
#265df8 text on a black background
contrast 4.00:1
Card sample
#265df8 text on a white background
contrast 5.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #265df8;
Background color
Panel with #265df8 background
background-color: #265df8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #265df8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 93, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 93, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #265df8; background: linear-gradient(135deg, #265df8, #7B26F8);