#365fdf
a balanced, vivid blue · warm · closest name: royalblue
RGB
54, 95, 223
HSL
225°, 73%, 54%
CMYK
76, 57, 0, 13
Luminance
0.1430
Every format
| HEX | #365fdf |
| RGB | rgb(54, 95, 223) |
| HSL | hsl(225, 73%, 54%) |
| CMYK | cmyk(76%, 57%, 0%, 13%) |
| LAB | lab(44.6 30.6 -69.3) |
| LCH | lch(44.6 75.7 293.8) |
| OKLCH | oklch(0.534 0.201 266.1) |
Copy-ready code
/* CSS */
color: #365fdf;
background-color: #365fdf;
/* Tailwind (arbitrary) */
class="text-[#365fdf] bg-[#365fdf]"
/* SCSS */
$brand: #365fdf;
/* SwiftUI */
Color(red: 0.212, green: 0.373, blue: 0.875)
/* Android */
Color.parseColor("#365fdf")Accessibility — WCAG contrast
Aa
#365fdf on white: 5.44:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#365fdf on black: 3.86:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green37.3%
Blue87.5%
CMYK percentages
Cyan75.8%
Magenta57.4%
Yellow0.0%
Key (black)12.5%
Color previews
#365fdf text on a black background
contrast 3.86:1
Card sample
#365fdf text on a white background
contrast 5.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #365fdf;
Background color
Panel with #365fdf background
background-color: #365fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #365fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 95, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 95, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #365fdf; background: linear-gradient(135deg, #365fdf, #7E36DF);