Skip to content

#667eb0

a balanced, soft blue · cool · closest name: steelblue

RGB
102, 126, 176
HSL
221°, 32%, 55%
CMYK
42, 28, 0, 31
Luminance
0.2088

Every format

HEX#667eb0
RGBrgb(102, 126, 176)
HSLhsl(221, 32%, 55%)
CMYKcmyk(42%, 28%, 0%, 31%)
LABlab(52.8 4.6 -29.2)
LCHlch(52.8 29.6 278.9)
OKLCHoklch(0.595 0.082 264.3)

Copy-ready code

/* CSS */
color: #667eb0;
background-color: #667eb0;
/* Tailwind (arbitrary) */
class="text-[#667eb0] bg-[#667eb0]"
/* SCSS */
$brand: #667eb0;
/* SwiftUI */
Color(red: 0.400, green: 0.494, blue: 0.690)
/* Android */
Color.parseColor("#667eb0")

Accessibility — WCAG contrast

Aa
#667eb0 on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#667eb0 on black: 5.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.0%
Green49.4%
Blue69.0%

CMYK percentages

Cyan42.0%
Magenta28.4%
Yellow0.0%
Key (black)31.0%

Color previews

#667eb0 text on a black background

contrast 5.18:1

Card sample

#667eb0 text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #667eb0;
Background color
Panel with #667eb0 background
background-color: #667eb0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #667eb0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(102, 126, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(102, 126, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #667eb0;
background: linear-gradient(135deg, #667eb0, #7F66B0);

Monochromatic scale

Palettes built from #667eb0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #667eb0 in the Color Lab