Skip to content

#0f68eb

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

RGB
15, 104, 235
HSL
216°, 88%, 49%
CMYK
94, 56, 0, 8
Luminance
0.1600

Every format

HEX#0f68eb
RGBrgb(15, 104, 235)
HSLhsl(216, 88%, 49%)
CMYKcmyk(94%, 56%, 0%, 8%)
LABlab(47.0 26.6 -72.4)
LCHlch(47.0 77.1 290.2)
OKLCHoklch(0.552 0.213 259.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f68eb on white: 5.00:1
AA ✓ pass · AA-large · AAA
Aa
#0f68eb on black: 4.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green40.8%
Blue92.2%

CMYK percentages

Cyan93.6%
Magenta55.7%
Yellow0.0%
Key (black)7.8%

Color previews

#0f68eb text on a black background

contrast 4.20:1

Card sample

#0f68eb text on a white background

contrast 5.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f68eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f68eb in the Color Lab