#261fad
a dark, vivid blue · warm · closest name: navy
RGB
38, 31, 173
HSL
243°, 70%, 40%
CMYK
78, 82, 0, 32
Luminance
0.0441
Every format
| HEX | #261fad |
| RGB | rgb(38, 31, 173) |
| HSL | hsl(243, 70%, 40%) |
| CMYK | cmyk(78%, 82%, 0%, 32%) |
| LAB | lab(25.0 49.8 -72.5) |
| LCH | lch(25.0 88.0 304.5) |
| OKLCH | oklch(0.375 0.210 272.0) |
Copy-ready code
/* CSS */
color: #261fad;
background-color: #261fad;
/* Tailwind (arbitrary) */
class="text-[#261fad] bg-[#261fad]"
/* SCSS */
$brand: #261fad;
/* SwiftUI */
Color(red: 0.149, green: 0.122, blue: 0.678)
/* Android */
Color.parseColor("#261fad")Accessibility — WCAG contrast
Aa
#261fad on white: 11.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#261fad on black: 1.88:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.9%
Green12.2%
Blue67.8%
CMYK percentages
Cyan78.0%
Magenta82.1%
Yellow0.0%
Key (black)32.2%
Color previews
#261fad text on a black background
contrast 1.88:1
Card sample
#261fad text on a white background
contrast 11.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #261fad;
Background color
Panel with #261fad background
background-color: #261fad;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #261fad;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(38, 31, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 31, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #261fad; background: linear-gradient(135deg, #261fad, #851FAD);