#237ef1
a balanced, electric blue · cool · closest name: dodgerblue
RGB
35, 126, 241
HSL
214°, 88%, 54%
CMYK
86, 48, 0, 6
Luminance
0.2163
Every format
| HEX | #237ef1 |
| RGB | rgb(35, 126, 241) |
| HSL | hsl(214, 88%, 54%) |
| CMYK | cmyk(86%, 48%, 0%, 6%) |
| LAB | lab(53.6 16.0 -64.9) |
| LCH | lch(53.6 66.8 283.9) |
| OKLCH | oklch(0.605 0.192 256.9) |
Copy-ready code
/* CSS */
color: #237ef1;
background-color: #237ef1;
/* Tailwind (arbitrary) */
class="text-[#237ef1] bg-[#237ef1]"
/* SCSS */
$brand: #237ef1;
/* SwiftUI */
Color(red: 0.137, green: 0.494, blue: 0.945)
/* Android */
Color.parseColor("#237ef1")Accessibility — WCAG contrast
Aa
#237ef1 on white: 3.94:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#237ef1 on black: 5.33:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red13.7%
Green49.4%
Blue94.5%
CMYK percentages
Cyan85.5%
Magenta47.7%
Yellow0.0%
Key (black)5.5%
Color previews
#237ef1 text on a black background
contrast 5.33:1
Card sample
#237ef1 text on a white background
contrast 3.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #237ef1;
Background color
Panel with #237ef1 background
background-color: #237ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #237ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(35, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #237ef1; background: linear-gradient(135deg, #237ef1, #5123F1);