#256fdf
a balanced, vivid blue · cool · closest name: royalblue
RGB
37, 111, 223
HSL
216°, 74%, 51%
CMYK
83, 50, 0, 13
Luminance
0.1709
Every format
| HEX | #256fdf |
| RGB | rgb(37, 111, 223) |
| HSL | hsl(216, 74%, 51%) |
| CMYK | cmyk(83%, 50%, 0%, 13%) |
| LAB | lab(48.4 18.8 -63.3) |
| LCH | lch(48.4 66.0 286.5) |
| OKLCH | oklch(0.561 0.186 259.1) |
Copy-ready code
/* CSS */
color: #256fdf;
background-color: #256fdf;
/* Tailwind (arbitrary) */
class="text-[#256fdf] bg-[#256fdf]"
/* SCSS */
$brand: #256fdf;
/* SwiftUI */
Color(red: 0.145, green: 0.435, blue: 0.875)
/* Android */
Color.parseColor("#256fdf")Accessibility — WCAG contrast
Aa
#256fdf on white: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#256fdf on black: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.5%
Green43.5%
Blue87.5%
CMYK percentages
Cyan83.4%
Magenta50.2%
Yellow0.0%
Key (black)12.5%
Color previews
#256fdf text on a black background
contrast 4.42:1
Card sample
#256fdf text on a white background
contrast 4.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #256fdf;
Background color
Panel with #256fdf background
background-color: #256fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #256fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(37, 111, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 111, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #256fdf; background: linear-gradient(135deg, #256fdf, #5725DF);