Skip to content

#0f55ff

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

RGB
15, 85, 255
HSL
223°, 100%, 53%
CMYK
94, 67, 0, 0
Luminance
0.1382

Every format

HEX#0f55ff
RGBrgb(15, 85, 255)
HSLhsl(223, 100%, 53%)
CMYKcmyk(94%, 67%, 0%, 0%)
LABlab(44.0 46.1 -88.5)
LCHlch(44.0 99.8 297.5)
OKLCHoklch(0.535 0.258 263.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f55ff on white: 5.58:1
AA ✓ pass · AA-large · AAA
Aa
#0f55ff on black: 3.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green33.3%
Blue100.0%

CMYK percentages

Cyan94.1%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#0f55ff text on a black background

contrast 3.76:1

Card sample

#0f55ff text on a white background

contrast 5.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 85, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 85, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f55ff;
background: linear-gradient(135deg, #0f55ff, #690FFF);

Monochromatic scale

Palettes built from #0f55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f55ff in the Color Lab