Skip to content

#0b52df

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

RGB
11, 82, 223
HSL
220°, 91%, 46%
CMYK
95, 63, 0, 13
Luminance
0.1143

Every format

HEX#0b52df
RGBrgb(11, 82, 223)
HSLhsl(220, 91%, 46%)
CMYKcmyk(95%, 63%, 0%, 13%)
LABlab(40.3 36.1 -76.5)
LCHlch(40.3 84.6 295.3)
OKLCHoklch(0.499 0.224 262.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b52df on white: 6.39:1
AA ✓ pass · AA-large · AAA
Aa
#0b52df on black: 3.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green32.2%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta63.2%
Yellow0.0%
Key (black)12.5%

Color previews

#0b52df text on a black background

contrast 3.29:1

Card sample

#0b52df text on a white background

contrast 6.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b52df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b52df in the Color Lab