#192f80
a dark, vivid blue · warm · closest name: midnightblue
RGB
25, 47, 128
HSL
227°, 67%, 30%
CMYK
81, 63, 0, 50
Luminance
0.0380
Every format
| HEX | #192f80 |
| RGB | rgb(25, 47, 128) |
| HSL | hsl(227, 67%, 30%) |
| CMYK | cmyk(81%, 63%, 0%, 50%) |
| LAB | lab(23.0 23.1 -48.1) |
| LCH | lch(23.0 53.4 295.7) |
| OKLCH | oklch(0.345 0.139 266.9) |
Copy-ready code
/* CSS */
color: #192f80;
background-color: #192f80;
/* Tailwind (arbitrary) */
class="text-[#192f80] bg-[#192f80]"
/* SCSS */
$brand: #192f80;
/* SwiftUI */
Color(red: 0.098, green: 0.184, blue: 0.502)
/* Android */
Color.parseColor("#192f80")Accessibility — WCAG contrast
Aa
#192f80 on white: 11.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#192f80 on black: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green18.4%
Blue50.2%
CMYK percentages
Cyan80.5%
Magenta63.3%
Yellow0.0%
Key (black)49.8%
Color previews
#192f80 text on a black background
contrast 1.76:1
Card sample
#192f80 text on a white background
contrast 11.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #192f80;
Background color
Panel with #192f80 background
background-color: #192f80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #192f80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 47, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 47, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #192f80; background: linear-gradient(135deg, #192f80, #481980);