Skip to content

#0f97fd

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

RGB
15, 151, 253
HSL
206°, 98%, 53%
CMYK
94, 40, 0, 1
Luminance
0.2933

Every format

HEX#0f97fd
RGBrgb(15, 151, 253)
HSLhsl(206, 98%, 53%)
CMYKcmyk(94%, 40%, 0%, 1%)
LABlab(61.1 4.4 -59.6)
LCHlch(61.1 59.8 274.2)
OKLCHoklch(0.664 0.182 249.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f97fd on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#0f97fd on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green59.2%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta40.3%
Yellow0.0%
Key (black)0.8%

Color previews

#0f97fd text on a black background

contrast 6.87:1

Card sample

#0f97fd text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f97fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f97fd in the Color Lab