Skip to content

#0f4cfd

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

RGB
15, 76, 253
HSL
225°, 98%, 53%
CMYK
94, 70, 0, 1
Luminance
0.1236

Every format

HEX#0f4cfd
RGBrgb(15, 76, 253)
HSLhsl(225, 98%, 53%)
CMYKcmyk(94%, 70%, 0%, 1%)
LABlab(41.8 50.8 -91.0)
LCHlch(41.8 104.2 299.2)
OKLCHoklch(0.518 0.265 264.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f4cfd on white: 6.05:1
AA ✓ pass · AA-large · AAA
Aa
#0f4cfd on black: 3.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green29.8%
Blue99.2%

CMYK percentages

Cyan94.1%
Magenta70.0%
Yellow0.0%
Key (black)0.8%

Color previews

#0f4cfd text on a black background

contrast 3.47:1

Card sample

#0f4cfd text on a white background

contrast 6.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f4cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f4cfd in the Color Lab