#233f80
a dark, vivid blue · cool · closest name: midnightblue
RGB
35, 63, 128
HSL
222°, 57%, 32%
CMYK
73, 51, 0, 50
Luminance
0.0547
Every format
| HEX | #233f80 |
| RGB | rgb(35, 63, 128) |
| HSL | hsl(222, 57%, 32%) |
| CMYK | cmyk(73%, 51%, 0%, 50%) |
| LAB | lab(28.0 13.3 -39.9) |
| LCH | lch(28.0 42.0 288.4) |
| OKLCH | oklch(0.384 0.115 264.2) |
Copy-ready code
/* CSS */
color: #233f80;
background-color: #233f80;
/* Tailwind (arbitrary) */
class="text-[#233f80] bg-[#233f80]"
/* SCSS */
$brand: #233f80;
/* SwiftUI */
Color(red: 0.137, green: 0.247, blue: 0.502)
/* Android */
Color.parseColor("#233f80")Accessibility — WCAG contrast
Aa
#233f80 on white: 10.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#233f80 on black: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red13.7%
Green24.7%
Blue50.2%
CMYK percentages
Cyan72.7%
Magenta50.8%
Yellow0.0%
Key (black)49.8%
Color previews
#233f80 text on a black background
contrast 2.09:1
Card sample
#233f80 text on a white background
contrast 10.03:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #233f80;
Background color
Panel with #233f80 background
background-color: #233f80;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #233f80;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(35, 63, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 63, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #233f80; background: linear-gradient(135deg, #233f80, #452380);