Skip to content

#1baffc

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

RGB
27, 175, 252
HSL
201°, 97%, 55%
CMYK
89, 31, 0, 1
Luminance
0.3792

Every format

HEX#1baffc
RGBrgb(27, 175, 252)
HSLhsl(201, 97%, 55%)
CMYKcmyk(89%, 31%, 0%, 1%)
LABlab(68.0 -9.3 -48.1)
LCHlch(68.0 49.0 259.1)
OKLCHoklch(0.719 0.158 239.7)

Copy-ready code

/* CSS */
color: #1baffc;
background-color: #1baffc;
/* Tailwind (arbitrary) */
class="text-[#1baffc] bg-[#1baffc]"
/* SCSS */
$brand: #1baffc;
/* SwiftUI */
Color(red: 0.106, green: 0.686, blue: 0.988)
/* Android */
Color.parseColor("#1baffc")

Accessibility — WCAG contrast

Aa
#1baffc on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#1baffc on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.6%
Green68.6%
Blue98.8%

CMYK percentages

Cyan89.3%
Magenta30.6%
Yellow0.0%
Key (black)1.2%

Color previews

#1baffc text on a black background

contrast 8.58:1

Card sample

#1baffc text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1baffc;
Background color
Panel with #1baffc background
background-color: #1baffc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1baffc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(27, 175, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 175, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1baffc;
background: linear-gradient(135deg, #1baffc, #1D1BFC);

Monochromatic scale

Palettes built from #1baffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1baffc in the Color Lab