Skip to content

#0f30ec

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

RGB
15, 48, 236
HSL
231°, 88%, 49%
CMYK
94, 80, 0, 8
Luminance
0.0827

Every format

HEX#0f30ec
RGBrgb(15, 48, 236)
HSLhsl(231, 88%, 49%)
CMYKcmyk(94%, 80%, 0%, 8%)
LABlab(34.5 60.5 -93.4)
LCHlch(34.5 111.3 302.9)
OKLCHoklch(0.461 0.272 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f30ec on white: 7.91:1
AA ✓ pass · AA-large · AAA
Aa
#0f30ec on black: 2.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green18.8%
Blue92.5%

CMYK percentages

Cyan93.6%
Magenta79.7%
Yellow0.0%
Key (black)7.5%

Color previews

#0f30ec text on a black background

contrast 2.65:1

Card sample

#0f30ec text on a white background

contrast 7.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f30ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f30ec in the Color Lab