#229af2
a balanced, electric blue · cool · closest name: dodgerblue
RGB
34, 154, 242
HSL
205°, 89%, 54%
CMYK
86, 36, 0, 5
Luminance
0.2986
Every format
| HEX | #229af2 |
| RGB | rgb(34, 154, 242) |
| HSL | hsl(205, 89%, 54%) |
| CMYK | cmyk(86%, 36%, 0%, 5%) |
| LAB | lab(61.5 -0.6 -52.8) |
| LCH | lch(61.5 52.8 269.4) |
| OKLCH | oklch(0.667 0.164 247.0) |
Copy-ready code
/* CSS */
color: #229af2;
background-color: #229af2;
/* Tailwind (arbitrary) */
class="text-[#229af2] bg-[#229af2]"
/* SCSS */
$brand: #229af2;
/* SwiftUI */
Color(red: 0.133, green: 0.604, blue: 0.949)
/* Android */
Color.parseColor("#229af2")Accessibility — WCAG contrast
Aa
#229af2 on white: 3.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#229af2 on black: 6.97:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red13.3%
Green60.4%
Blue94.9%
CMYK percentages
Cyan86.0%
Magenta36.4%
Yellow0.0%
Key (black)5.1%
Color previews
#229af2 text on a black background
contrast 6.97:1
Card sample
#229af2 text on a white background
contrast 3.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #229af2;
Background color
Panel with #229af2 background
background-color: #229af2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #229af2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(34, 154, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 154, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #229af2; background: linear-gradient(135deg, #229af2, #3522F2);