Skip to content

#0f9dfb

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

RGB
15, 157, 251
HSL
204°, 97%, 52%
CMYK
94, 38, 0, 2
Luminance
0.3118

Every format

HEX#0f9dfb
RGBrgb(15, 157, 251)
HSLhsl(204, 97%, 52%)
CMYKcmyk(94%, 38%, 0%, 2%)
LABlab(62.7 0.1 -56.0)
LCHlch(62.7 56.0 270.1)
OKLCHoklch(0.676 0.174 246.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f9dfb on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#0f9dfb on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green61.6%
Blue98.4%

CMYK percentages

Cyan94.0%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#0f9dfb text on a black background

contrast 7.24:1

Card sample

#0f9dfb text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f9dfb in the Color Lab