#256dfd
a balanced, electric blue · cool · closest name: royalblue
RGB
37, 109, 253
HSL
220°, 98%, 57%
CMYK
85, 57, 0, 1
Luminance
0.1842
Every format
| HEX | #256dfd |
| RGB | rgb(37, 109, 253) |
| HSL | hsl(220, 98%, 57%) |
| CMYK | cmyk(85%, 57%, 0%, 1%) |
| LAB | lab(50.0 31.3 -77.5) |
| LCH | lch(50.0 83.5 292.0) |
| OKLCH | oklch(0.580 0.226 262.1) |
Copy-ready code
/* CSS */
color: #256dfd;
background-color: #256dfd;
/* Tailwind (arbitrary) */
class="text-[#256dfd] bg-[#256dfd]"
/* SCSS */
$brand: #256dfd;
/* SwiftUI */
Color(red: 0.145, green: 0.427, blue: 0.992)
/* Android */
Color.parseColor("#256dfd")Accessibility — WCAG contrast
Aa
#256dfd on white: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#256dfd on black: 4.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.5%
Green42.7%
Blue99.2%
CMYK percentages
Cyan85.4%
Magenta56.9%
Yellow0.0%
Key (black)0.8%
Color previews
#256dfd text on a black background
contrast 4.68:1
Card sample
#256dfd text on a white background
contrast 4.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #256dfd;
Background color
Panel with #256dfd background
background-color: #256dfd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #256dfd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(37, 109, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 109, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #256dfd; background: linear-gradient(135deg, #256dfd, #6D25FD);