Skip to content

#0f15df

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

RGB
15, 21, 223
HSL
238°, 87%, 47%
CMYK
93, 91, 0, 13
Luminance
0.0597

Every format

HEX#0f15df
RGBrgb(15, 21, 223)
HSLhsl(238, 87%, 47%)
CMYKcmyk(93%, 91%, 0%, 13%)
LABlab(29.3 67.3 -94.7)
LCHlch(29.3 116.2 305.4)
OKLCHoklch(0.421 0.275 265.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f15df on white: 9.58:1
AA ✓ pass · AA-large · AAA
Aa
#0f15df on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green8.2%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta90.6%
Yellow0.0%
Key (black)12.5%

Color previews

#0f15df text on a black background

contrast 2.19:1

Card sample

#0f15df text on a white background

contrast 9.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f15df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f15df in the Color Lab