#4267df
a balanced, vivid blue · warm · “royalblue”
RGB
66, 103, 223
HSL
226°, 71%, 57%
CMYK
70, 54, 0, 13
Luminance
0.1619
Every format
| HEX | #4267df |
| RGB | rgb(66, 103, 223) |
| HSL | hsl(226, 71%, 57%) |
| CMYK | cmyk(70%, 54%, 0%, 13%) |
| LAB | lab(47.2 26.9 -65.1) |
| LCH | lch(47.2 70.5 292.5) |
| OKLCH | oklch(0.555 0.188 267.1) |
Copy-ready code
/* CSS */
color: #4267df;
background-color: #4267df;
/* Tailwind (arbitrary) */
class="text-[#4267df] bg-[#4267df]"
/* SCSS */
$brand: #4267df;
/* SwiftUI */
Color(red: 0.259, green: 0.404, blue: 0.875)
/* Android */
Color.parseColor("#4267df")Accessibility — WCAG contrast
Aa
#4267df on white: 4.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4267df on black: 4.24:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.9%
Green40.4%
Blue87.5%
CMYK percentages
Cyan70.4%
Magenta53.8%
Yellow0.0%
Key (black)12.5%
Color previews
#4267df text on a black background
contrast 4.24:1
Card sample
#4267df text on a white background
contrast 4.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4267df;
Background color
Panel with #4267df background
background-color: #4267df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4267df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(66, 103, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 103, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4267df; background: linear-gradient(135deg, #4267df, #8642DF);