#8faffd
a light, electric blue · cool · closest name: dodgerblue
RGB
143, 175, 253
HSL
223°, 97%, 78%
CMYK
44, 31, 0, 1
Luminance
0.4359
Every format
| HEX | #8faffd |
| RGB | rgb(143, 175, 253) |
| HSL | hsl(223, 97%, 78%) |
| CMYK | cmyk(44%, 31%, 0%, 1%) |
| LAB | lab(72.0 8.8 -42.1) |
| LCH | lch(72.0 43.0 281.8) |
| OKLCH | oklch(0.761 0.118 266.6) |
Copy-ready code
/* CSS */
color: #8faffd;
background-color: #8faffd;
/* Tailwind (arbitrary) */
class="text-[#8faffd] bg-[#8faffd]"
/* SCSS */
$brand: #8faffd;
/* SwiftUI */
Color(red: 0.561, green: 0.686, blue: 0.992)
/* Android */
Color.parseColor("#8faffd")Accessibility — WCAG contrast
Aa
#8faffd on white: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8faffd on black: 9.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.1%
Green68.6%
Blue99.2%
CMYK percentages
Cyan43.5%
Magenta30.8%
Yellow0.0%
Key (black)0.8%
Color previews
#8faffd text on a black background
contrast 9.72:1
Card sample
#8faffd text on a white background
contrast 2.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8faffd;
Background color
Panel with #8faffd background
background-color: #8faffd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8faffd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(143, 175, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 175, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8faffd; background: linear-gradient(135deg, #8faffd, #B88FFD);