#0f65cf
a dark, electric blue · cool · closest name: royalblue
RGB
15, 101, 207
HSL
213°, 87%, 44%
CMYK
93, 51, 0, 19
Luminance
0.1391
Every format
| HEX | #0f65cf |
| RGB | rgb(15, 101, 207) |
| HSL | hsl(213, 87%, 44%) |
| CMYK | cmyk(93%, 51%, 0%, 19%) |
| LAB | lab(44.1 17.6 -61.1) |
| LCH | lch(44.1 63.6 286.1) |
| OKLCH | oklch(0.524 0.181 257.5) |
Copy-ready code
/* CSS */
color: #0f65cf;
background-color: #0f65cf;
/* Tailwind (arbitrary) */
class="text-[#0f65cf] bg-[#0f65cf]"
/* SCSS */
$brand: #0f65cf;
/* SwiftUI */
Color(red: 0.059, green: 0.396, blue: 0.812)
/* Android */
Color.parseColor("#0f65cf")Accessibility — WCAG contrast
Aa
#0f65cf on white: 5.55:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0f65cf on black: 3.78:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green39.6%
Blue81.2%
CMYK percentages
Cyan92.8%
Magenta51.2%
Yellow0.0%
Key (black)18.8%
Color previews
#0f65cf text on a black background
contrast 3.78:1
Card sample
#0f65cf text on a white background
contrast 5.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f65cf;
Background color
Panel with #0f65cf background
background-color: #0f65cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f65cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 101, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 101, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f65cf; background: linear-gradient(135deg, #0f65cf, #390FCF);