Skip to content

#0b55ff

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

RGB
11, 85, 255
HSL
222°, 100%, 52%
CMYK
96, 67, 0, 0
Luminance
0.1379

Every format

HEX#0b55ff
RGBrgb(11, 85, 255)
HSLhsl(222, 100%, 52%)
CMYKcmyk(96%, 67%, 0%, 0%)
LABlab(43.9 46.0 -88.5)
LCHlch(43.9 99.8 297.5)
OKLCHoklch(0.534 0.259 263.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red4.3%
Green33.3%
Blue100.0%

CMYK percentages

Cyan95.7%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#0b55ff text on a black background

contrast 3.76:1

Card sample

#0b55ff text on a white background

contrast 5.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b55ff in the Color Lab