Skip to content

#0f45fd

a balanced, electric blue · warm · closest name: blue

RGB
15, 69, 253
HSL
226°, 98%, 53%
CMYK
94, 73, 0, 1
Luminance
0.1145

Every format

HEX#0f45fd
RGBrgb(15, 69, 253)
HSLhsl(226, 98%, 53%)
CMYKcmyk(94%, 73%, 0%, 1%)
LABlab(40.3 54.9 -93.4)
LCHlch(40.3 108.3 300.4)
OKLCHoklch(0.508 0.272 264.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f45fd on white: 6.38:1
AA ✓ pass · AA-large · AAA
Aa
#0f45fd on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green27.1%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta72.7%
Yellow0.0%
Key (black)0.8%

Color previews

#0f45fd text on a black background

contrast 3.29:1

Card sample

#0f45fd text on a white background

contrast 6.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f45fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f45fd in the Color Lab