Skip to content

#0f66df

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

RGB
15, 102, 223
HSL
215°, 87%, 47%
CMYK
93, 54, 0, 13
Luminance
0.1493

Every format

HEX#0f66df
RGBrgb(15, 102, 223)
HSLhsl(215, 87%, 47%)
CMYKcmyk(93%, 54%, 0%, 13%)
LABlab(45.5 23.3 -67.9)
LCHlch(45.5 71.8 288.9)
OKLCHoklch(0.538 0.200 259.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f66df on white: 5.27:1
AA ✓ pass · AA-large · AAA
Aa
#0f66df on black: 3.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green40.0%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta54.3%
Yellow0.0%
Key (black)12.5%

Color previews

#0f66df text on a black background

contrast 3.99:1

Card sample

#0f66df text on a white background

contrast 5.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f66df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f66df in the Color Lab