Skip to content

#0b56ce

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

RGB
11, 86, 206
HSL
217°, 90%, 43%
CMYK
95, 58, 0, 19
Luminance
0.1118

Every format

HEX#0b56ce
RGBrgb(11, 86, 206)
HSLhsl(217, 90%, 43%)
CMYKcmyk(95%, 58%, 0%, 19%)
LABlab(39.9 26.9 -67.4)
LCHlch(39.9 72.6 291.8)
OKLCHoklch(0.491 0.198 260.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b56ce on white: 6.49:1
AA ✓ pass · AA-large · AAA
Aa
#0b56ce on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green33.7%
Blue80.8%

CMYK percentages

Cyan94.7%
Magenta58.3%
Yellow0.0%
Key (black)19.2%

Color previews

#0b56ce text on a black background

contrast 3.24:1

Card sample

#0b56ce text on a white background

contrast 6.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 86, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 86, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b56ce;
background: linear-gradient(135deg, #0b56ce, #420BCE);

Monochromatic scale

Palettes built from #0b56ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b56ce in the Color Lab