Skip to content

#0f39df

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

RGB
15, 57, 223
HSL
228°, 87%, 47%
CMYK
93, 74, 0, 13
Luminance
0.0836

Every format

HEX#0f39df
RGBrgb(15, 57, 223)
HSLhsl(228, 87%, 47%)
CMYKcmyk(93%, 74%, 0%, 13%)
LABlab(34.7 51.5 -85.7)
LCHlch(34.7 100.0 301.0)
OKLCHoklch(0.458 0.250 264.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f39df on white: 7.86:1
AA ✓ pass · AA-large · AAA
Aa
#0f39df on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green22.4%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta74.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0f39df text on a black background

contrast 2.67:1

Card sample

#0f39df text on a white background

contrast 7.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f39df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f39df in the Color Lab