#265dfd
a balanced, electric blue · cool · closest name: royalblue
RGB
38, 93, 253
HSL
225°, 98%, 57%
CMYK
85, 63, 0, 1
Luminance
0.1533
Every format
| HEX | #265dfd |
| RGB | rgb(38, 93, 253) |
| HSL | hsl(225, 98%, 57%) |
| CMYK | cmyk(85%, 63%, 0%, 1%) |
| LAB | lab(46.1 41.4 -83.9) |
| LCH | lch(46.1 93.5 296.3) |
| OKLCH | oklch(0.551 0.244 264.6) |
Copy-ready code
/* CSS */
color: #265dfd;
background-color: #265dfd;
/* Tailwind (arbitrary) */
class="text-[#265dfd] bg-[#265dfd]"
/* SCSS */
$brand: #265dfd;
/* SwiftUI */
Color(red: 0.149, green: 0.365, blue: 0.992)
/* Android */
Color.parseColor("#265dfd")Accessibility — WCAG contrast
Aa
#265dfd on white: 5.16:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#265dfd on black: 4.07:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green36.5%
Blue99.2%
CMYK percentages
Cyan85.0%
Magenta63.2%
Yellow0.0%
Key (black)0.8%
Color previews
#265dfd text on a black background
contrast 4.07:1
Card sample
#265dfd text on a white background
contrast 5.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #265dfd;
Background color
Panel with #265dfd background
background-color: #265dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #265dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 93, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 93, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #265dfd; background: linear-gradient(135deg, #265dfd, #7F26FD);