Skip to content

#0f30df

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

RGB
15, 48, 223
HSL
231°, 87%, 47%
CMYK
93, 79, 0, 13
Luminance
0.0754

Every format

HEX#0f30df
RGBrgb(15, 48, 223)
HSLhsl(231, 87%, 47%)
CMYKcmyk(93%, 79%, 0%, 13%)
LABlab(33.0 56.3 -88.5)
LCHlch(33.0 104.9 302.5)
OKLCHoklch(0.446 0.258 265.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f30df on white: 8.37:1
AA ✓ pass · AA-large · AAA
Aa
#0f30df on black: 2.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green18.8%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta78.5%
Yellow0.0%
Key (black)12.5%

Color previews

#0f30df text on a black background

contrast 2.51:1

Card sample

#0f30df text on a white background

contrast 8.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f30df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f30df in the Color Lab