Skip to content

#0f9dfd

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

RGB
15, 157, 253
HSL
204°, 98%, 53%
CMYK
94, 38, 0, 1
Luminance
0.3131

Every format

HEX#0f9dfd
RGBrgb(15, 157, 253)
HSLhsl(204, 98%, 53%)
CMYKcmyk(94%, 38%, 0%, 1%)
LABlab(62.8 0.8 -56.9)
LCHlch(62.8 56.9 270.9)
OKLCHoklch(0.678 0.176 247.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f9dfd on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#0f9dfd on black: 7.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green61.6%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta37.9%
Yellow0.0%
Key (black)0.8%

Color previews

#0f9dfd text on a black background

contrast 7.26:1

Card sample

#0f9dfd text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f9dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f9dfd in the Color Lab