#3368df
a balanced, vivid blue · cool · “royalblue”
RGB
51, 104, 223
HSL
222°, 73%, 54%
CMYK
77, 53, 0, 13
Luminance
0.1593
Every format
| HEX | #3368df |
| RGB | rgb(51, 104, 223) |
| HSL | hsl(222, 73%, 54%) |
| CMYK | cmyk(77%, 53%, 0%, 13%) |
| LAB | lab(46.9 24.5 -65.7) |
| LCH | lch(46.9 70.1 290.5) |
| OKLCH | oklch(0.551 0.191 263.4) |
Copy-ready code
/* CSS */
color: #3368df;
background-color: #3368df;
/* Tailwind (arbitrary) */
class="text-[#3368df] bg-[#3368df]"
/* SCSS */
$brand: #3368df;
/* SwiftUI */
Color(red: 0.200, green: 0.408, blue: 0.875)
/* Android */
Color.parseColor("#3368df")Accessibility — WCAG contrast
Aa
#3368df on white: 5.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#3368df on black: 4.19:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green40.8%
Blue87.5%
CMYK percentages
Cyan77.1%
Magenta53.4%
Yellow0.0%
Key (black)12.5%
Color previews
#3368df text on a black background
contrast 4.19:1
Card sample
#3368df text on a white background
contrast 5.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3368df;
Background color
Panel with #3368df background
background-color: #3368df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3368df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 104, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 104, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3368df; background: linear-gradient(135deg, #3368df, #7133DF);