Skip to content

#0f7fec

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

RGB
15, 127, 236
HSL
210°, 88%, 49%
CMYK
94, 46, 0, 8
Luminance
0.2134

Every format

HEX#0f7fec
RGBrgb(15, 127, 236)
HSLhsl(210, 88%, 49%)
CMYKcmyk(94%, 46%, 0%, 8%)
LABlab(53.3 12.5 -62.6)
LCHlch(53.3 63.9 281.3)
OKLCHoklch(0.601 0.187 254.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7fec on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#0f7fec on black: 5.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green49.8%
Blue92.5%

CMYK percentages

Cyan93.6%
Magenta46.2%
Yellow0.0%
Key (black)7.5%

Color previews

#0f7fec text on a black background

contrast 5.27:1

Card sample

#0f7fec text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 127, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 127, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7fec;
background: linear-gradient(135deg, #0f7fec, #320FEC);

Monochromatic scale

Palettes built from #0f7fec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7fec in the Color Lab