#260fac
a dark, electric blue · warm · closest name: navy
RGB
38, 15, 172
HSL
249°, 84%, 37%
CMYK
78, 91, 0, 33
Luminance
0.0373
Every format
| HEX | #260fac |
| RGB | rgb(38, 15, 172) |
| HSL | hsl(249, 84%, 37%) |
| CMYK | cmyk(78%, 91%, 0%, 33%) |
| LAB | lab(22.8 55.8 -75.6) |
| LCH | lch(22.8 93.9 306.4) |
| OKLCH | oklch(0.360 0.219 272.8) |
Copy-ready code
/* CSS */
color: #260fac;
background-color: #260fac;
/* Tailwind (arbitrary) */
class="text-[#260fac] bg-[#260fac]"
/* SCSS */
$brand: #260fac;
/* SwiftUI */
Color(red: 0.149, green: 0.059, blue: 0.675)
/* Android */
Color.parseColor("#260fac")Accessibility — WCAG contrast
Aa
#260fac on white: 12.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#260fac on black: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green5.9%
Blue67.5%
CMYK percentages
Cyan77.9%
Magenta91.3%
Yellow0.0%
Key (black)32.5%
Color previews
#260fac text on a black background
contrast 1.75:1
Card sample
#260fac text on a white background
contrast 12.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #260fac;
Background color
Panel with #260fac background
background-color: #260fac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #260fac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 15, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 15, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #260fac; background: linear-gradient(135deg, #260fac, #8F0FAC);