Skip to content

#0f72fd

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

RGB
15, 114, 253
HSL
215°, 98%, 53%
CMYK
94, 55, 0, 1
Luminance
0.1923

Every format

HEX#0f72fd
RGBrgb(15, 114, 253)
HSLhsl(215, 98%, 53%)
CMYKcmyk(94%, 55%, 0%, 1%)
LABlab(51.0 27.2 -75.9)
LCHlch(51.0 80.6 289.7)
OKLCHoklch(0.586 0.223 259.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f72fd on white: 4.33:1
AA ✗ fail · AA-large · AAA
Aa
#0f72fd on black: 4.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green44.7%
Blue99.2%

CMYK percentages

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

Color previews

#0f72fd text on a black background

contrast 4.85:1

Card sample

#0f72fd text on a white background

contrast 4.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f72fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f72fd in the Color Lab