#2767df
a balanced, vivid blue · cool · closest name: royalblue
RGB
39, 103, 223
HSL
219°, 74%, 51%
CMYK
83, 54, 0, 13
Luminance
0.1546
Every format
| HEX | #2767df |
| RGB | rgb(39, 103, 223) |
| HSL | hsl(219, 74%, 51%) |
| CMYK | cmyk(83%, 54%, 0%, 13%) |
| LAB | lab(46.3 24.0 -66.7) |
| LCH | lch(46.3 70.9 289.8) |
| OKLCH | oklch(0.545 0.195 261.5) |
Copy-ready code
/* CSS */
color: #2767df;
background-color: #2767df;
/* Tailwind (arbitrary) */
class="text-[#2767df] bg-[#2767df]"
/* SCSS */
$brand: #2767df;
/* SwiftUI */
Color(red: 0.153, green: 0.404, blue: 0.875)
/* Android */
Color.parseColor("#2767df")Accessibility — WCAG contrast
Aa
#2767df on white: 5.13:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#2767df on black: 4.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.3%
Green40.4%
Blue87.5%
CMYK percentages
Cyan82.5%
Magenta53.8%
Yellow0.0%
Key (black)12.5%
Color previews
#2767df text on a black background
contrast 4.09:1
Card sample
#2767df text on a white background
contrast 5.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2767df;
Background color
Panel with #2767df background
background-color: #2767df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2767df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(39, 103, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 103, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2767df; background: linear-gradient(135deg, #2767df, #6227DF);