#320abc
a dark, electric blue · warm · closest name: navy
RGB
50, 10, 188
HSL
254°, 90%, 39%
CMYK
73, 95, 0, 26
Luminance
0.0453
Every format
| HEX | #320abc |
| RGB | rgb(50, 10, 188) |
| HSL | hsl(254, 90%, 39%) |
| CMYK | cmyk(73%, 95%, 0%, 26%) |
| LAB | lab(25.3 61.7 -80.8) |
| LCH | lch(25.3 101.7 307.4) |
| OKLCH | oklch(0.385 0.234 275.6) |
Copy-ready code
/* CSS */
color: #320abc;
background-color: #320abc;
/* Tailwind (arbitrary) */
class="text-[#320abc] bg-[#320abc]"
/* SCSS */
$brand: #320abc;
/* SwiftUI */
Color(red: 0.196, green: 0.039, blue: 0.737)
/* Android */
Color.parseColor("#320abc")Accessibility — WCAG contrast
Aa
#320abc on white: 11.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#320abc on black: 1.91:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green3.9%
Blue73.7%
CMYK percentages
Cyan73.4%
Magenta94.7%
Yellow0.0%
Key (black)26.3%
Color previews
#320abc text on a black background
contrast 1.91:1
Card sample
#320abc text on a white background
contrast 11.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #320abc;
Background color
Panel with #320abc background
background-color: #320abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #320abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 10, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 10, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #320abc; background: linear-gradient(135deg, #320abc, #A90ABC);