#4064af
a balanced, vivid blue · cool · closest name: steelblue
RGB
64, 100, 175
HSL
221°, 46%, 47%
CMYK
63, 43, 0, 31
Luminance
0.1330
Every format
| HEX | #4064af |
| RGB | rgb(64, 100, 175) |
| HSL | hsl(221, 46%, 47%) |
| CMYK | cmyk(63%, 43%, 0%, 31%) |
| LAB | lab(43.2 11.4 -43.9) |
| LCH | lch(43.2 45.4 284.5) |
| OKLCH | oklch(0.514 0.126 263.3) |
Copy-ready code
/* CSS */
color: #4064af;
background-color: #4064af;
/* Tailwind (arbitrary) */
class="text-[#4064af] bg-[#4064af]"
/* SCSS */
$brand: #4064af;
/* SwiftUI */
Color(red: 0.251, green: 0.392, blue: 0.686)
/* Android */
Color.parseColor("#4064af")Accessibility — WCAG contrast
Aa
#4064af on white: 5.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4064af on black: 3.66:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green39.2%
Blue68.6%
CMYK percentages
Cyan63.4%
Magenta42.9%
Yellow0.0%
Key (black)31.4%
Color previews
#4064af text on a black background
contrast 3.66:1
Card sample
#4064af text on a white background
contrast 5.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4064af;
Background color
Panel with #4064af background
background-color: #4064af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4064af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 100, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 100, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4064af; background: linear-gradient(135deg, #4064af, #6640AF);