#1c2eb0
a dark, vivid blue · warm · closest name: navy
RGB
28, 46, 176
HSL
233°, 73%, 40%
CMYK
84, 74, 0, 31
Luminance
0.0534
Every format
| HEX | #1c2eb0 |
| RGB | rgb(28, 46, 176) |
| HSL | hsl(233, 73%, 40%) |
| CMYK | cmyk(84%, 74%, 0%, 31%) |
| LAB | lab(27.7 42.1 -69.8) |
| LCH | lch(27.7 81.5 301.1) |
| OKLCH | oklch(0.394 0.203 267.8) |
Copy-ready code
/* CSS */
color: #1c2eb0;
background-color: #1c2eb0;
/* Tailwind (arbitrary) */
class="text-[#1c2eb0] bg-[#1c2eb0]"
/* SCSS */
$brand: #1c2eb0;
/* SwiftUI */
Color(red: 0.110, green: 0.180, blue: 0.690)
/* Android */
Color.parseColor("#1c2eb0")Accessibility — WCAG contrast
Aa
#1c2eb0 on white: 10.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1c2eb0 on black: 2.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red11.0%
Green18.0%
Blue69.0%
CMYK percentages
Cyan84.1%
Magenta73.9%
Yellow0.0%
Key (black)31.0%
Color previews
#1c2eb0 text on a black background
contrast 2.07:1
Card sample
#1c2eb0 text on a white background
contrast 10.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1c2eb0;
Background color
Panel with #1c2eb0 background
background-color: #1c2eb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1c2eb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(28, 46, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 46, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c2eb0; background: linear-gradient(135deg, #1c2eb0, #6D1CB0);