#2018df
a balanced, electric blue · warm · closest name: blue
RGB
32, 24, 223
HSL
242°, 81%, 48%
CMYK
86, 89, 0, 13
Luminance
0.0629
Every format
| HEX | #2018df |
| RGB | rgb(32, 24, 223) |
| HSL | hsl(242, 81%, 48%) |
| CMYK | cmyk(86%, 89%, 0%, 13%) |
| LAB | lab(30.1 66.7 -93.3) |
| LCH | lch(30.1 114.7 305.6) |
| OKLCH | oklch(0.427 0.270 268.0) |
Copy-ready code
/* CSS */
color: #2018df;
background-color: #2018df;
/* Tailwind (arbitrary) */
class="text-[#2018df] bg-[#2018df]"
/* SCSS */
$brand: #2018df;
/* SwiftUI */
Color(red: 0.125, green: 0.094, blue: 0.875)
/* Android */
Color.parseColor("#2018df")Accessibility — WCAG contrast
Aa
#2018df on white: 9.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2018df on black: 2.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green9.4%
Blue87.5%
CMYK percentages
Cyan85.7%
Magenta89.2%
Yellow0.0%
Key (black)12.5%
Color previews
#2018df text on a black background
contrast 2.26:1
Card sample
#2018df text on a white background
contrast 9.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2018df;
Background color
Panel with #2018df background
background-color: #2018df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2018df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 24, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 24, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2018df; background: linear-gradient(135deg, #2018df, #A518DF);