Skip to content

#0f9afd

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

RGB
15, 154, 253
HSL
205°, 98%, 53%
CMYK
94, 39, 0, 1
Luminance
0.3030

Every format

HEX#0f9afd
RGBrgb(15, 154, 253)
HSLhsl(205, 98%, 53%)
CMYKcmyk(94%, 39%, 0%, 1%)
LABlab(61.9 2.6 -58.3)
LCHlch(61.9 58.3 272.6)
OKLCHoklch(0.671 0.179 248.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f9afd on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#0f9afd on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green60.4%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#0f9afd text on a black background

contrast 7.06:1

Card sample

#0f9afd text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f9afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f9afd in the Color Lab