#8aa2df
a light, vivid blue · cool · closest name: steelblue
RGB
138, 162, 223
HSL
223°, 57%, 71%
CMYK
38, 27, 0, 13
Luminance
0.3657
Every format
| HEX | #8aa2df |
| RGB | rgb(138, 162, 223) |
| HSL | hsl(223, 57%, 71%) |
| CMYK | cmyk(38%, 27%, 0%, 13%) |
| LAB | lab(67.0 6.6 -33.5) |
| LCH | lch(67.0 34.2 281.1) |
| OKLCH | oklch(0.717 0.093 267.5) |
Copy-ready code
/* CSS */
color: #8aa2df;
background-color: #8aa2df;
/* Tailwind (arbitrary) */
class="text-[#8aa2df] bg-[#8aa2df]"
/* SCSS */
$brand: #8aa2df;
/* SwiftUI */
Color(red: 0.541, green: 0.635, blue: 0.875)
/* Android */
Color.parseColor("#8aa2df")Accessibility — WCAG contrast
Aa
#8aa2df on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8aa2df on black: 8.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green63.5%
Blue87.5%
CMYK percentages
Cyan38.1%
Magenta27.4%
Yellow0.0%
Key (black)12.5%
Color previews
#8aa2df text on a black background
contrast 8.31:1
Card sample
#8aa2df text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8aa2df;
Background color
Panel with #8aa2df background
background-color: #8aa2df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8aa2df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 162, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 162, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8aa2df; background: linear-gradient(135deg, #8aa2df, #AB8ADF);