Skip to content

#0f68df

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

RGB
15, 104, 223
HSL
214°, 87%, 47%
CMYK
93, 53, 0, 13
Luminance
0.1533

Every format

HEX#0f68df
RGBrgb(15, 104, 223)
HSLhsl(214, 87%, 47%)
CMYKcmyk(93%, 53%, 0%, 13%)
LABlab(46.1 22.0 -67.0)
LCHlch(46.1 70.5 288.2)
OKLCHoklch(0.542 0.198 258.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f68df on white: 5.16:1
AA ✓ pass · AA-large · AAA
Aa
#0f68df on black: 4.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green40.8%
Blue87.5%

CMYK percentages

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

Color previews

#0f68df text on a black background

contrast 4.07:1

Card sample

#0f68df text on a white background

contrast 5.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f68df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f68df in the Color Lab