Skip to content

#0b50df

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

RGB
11, 80, 223
HSL
221°, 91%, 46%
CMYK
95, 64, 0, 13
Luminance
0.1114

Every format

HEX#0b50df
RGBrgb(11, 80, 223)
HSLhsl(221, 91%, 46%)
CMYKcmyk(95%, 64%, 0%, 13%)
LABlab(39.8 37.4 -77.3)
LCHlch(39.8 85.8 295.8)
OKLCHoklch(0.495 0.226 262.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b50df on white: 6.51:1
AA ✓ pass · AA-large · AAA
Aa
#0b50df on black: 3.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green31.4%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#0b50df text on a black background

contrast 3.23:1

Card sample

#0b50df text on a white background

contrast 6.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b50df;
background: linear-gradient(135deg, #0b50df, #530BDF);

Monochromatic scale

Palettes built from #0b50df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b50df in the Color Lab