Skip to content

#0f8afd

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

RGB
15, 138, 253
HSL
209°, 98%, 53%
CMYK
94, 46, 0, 1
Luminance
0.2537

Every format

HEX#0f8afd
RGBrgb(15, 138, 253)
HSLhsl(209, 98%, 53%)
CMYKcmyk(94%, 46%, 0%, 1%)
LABlab(57.4 12.2 -65.4)
LCHlch(57.4 66.6 280.6)
OKLCHoklch(0.636 0.196 253.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f8afd on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#0f8afd on black: 6.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green54.1%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta45.5%
Yellow0.0%
Key (black)0.8%

Color previews

#0f8afd text on a black background

contrast 6.07:1

Card sample

#0f8afd text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f8afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f8afd in the Color Lab