Skip to content

#0faafd

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

RGB
15, 170, 253
HSL
201°, 98%, 53%
CMYK
94, 33, 0, 1
Luminance
0.3594

Every format

HEX#0faafd
RGBrgb(15, 170, 253)
HSLhsl(201, 98%, 53%)
CMYKcmyk(94%, 33%, 0%, 1%)
LABlab(66.5 -6.6 -51.0)
LCHlch(66.5 51.4 262.6)
OKLCHoklch(0.707 0.165 241.9)

Copy-ready code

/* CSS */
color: #0faafd;
background-color: #0faafd;
/* Tailwind (arbitrary) */
class="text-[#0faafd] bg-[#0faafd]"
/* SCSS */
$brand: #0faafd;
/* SwiftUI */
Color(red: 0.059, green: 0.667, blue: 0.992)
/* Android */
Color.parseColor("#0faafd")

Accessibility — WCAG contrast

Aa
#0faafd on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#0faafd on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green66.7%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta32.8%
Yellow0.0%
Key (black)0.8%

Color previews

#0faafd text on a black background

contrast 8.19:1

Card sample

#0faafd text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0faafd;
Background color
Panel with #0faafd background
background-color: #0faafd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0faafd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(15, 170, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 170, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0faafd;
background: linear-gradient(135deg, #0faafd, #120FFD);

Monochromatic scale

Palettes built from #0faafd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0faafd in the Color Lab