#431fdf
a balanced, electric blue · warm · closest name: blue
RGB
67, 31, 223
HSL
251°, 76%, 50%
CMYK
70, 86, 0, 13
Luminance
0.0750
Every format
| HEX | #431fdf |
| RGB | rgb(67, 31, 223) |
| HSL | hsl(251, 76%, 50%) |
| CMYK | cmyk(70%, 86%, 0%, 13%) |
| LAB | lab(32.9 65.9 -88.6) |
| LCH | lch(32.9 110.4 306.6) |
| OKLCH | oklch(0.452 0.258 277.0) |
Copy-ready code
/* CSS */
color: #431fdf;
background-color: #431fdf;
/* Tailwind (arbitrary) */
class="text-[#431fdf] bg-[#431fdf]"
/* SCSS */
$brand: #431fdf;
/* SwiftUI */
Color(red: 0.263, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#431fdf")Accessibility — WCAG contrast
Aa
#431fdf on white: 8.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#431fdf on black: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red26.3%
Green12.2%
Blue87.5%
CMYK percentages
Cyan70.0%
Magenta86.1%
Yellow0.0%
Key (black)12.5%
Color previews
#431fdf text on a black background
contrast 2.50:1
Card sample
#431fdf text on a white background
contrast 8.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #431fdf;
Background color
Panel with #431fdf background
background-color: #431fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #431fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(67, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(67, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #431fdf; background: linear-gradient(135deg, #431fdf, #C31FDF);