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