Skip to content

#0b71ff

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

RGB
11, 113, 255
HSL
215°, 100%, 52%
CMYK
96, 56, 0, 0
Luminance
0.1910

Every format

HEX#0b71ff
RGBrgb(11, 113, 255)
HSLhsl(215, 100%, 52%)
CMYKcmyk(96%, 56%, 0%, 0%)
LABlab(50.8 28.5 -77.3)
LCHlch(50.8 82.3 290.2)
OKLCHoklch(0.586 0.227 259.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b71ff on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#0b71ff on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green44.3%
Blue100.0%

CMYK percentages

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

Color previews

#0b71ff text on a black background

contrast 4.82:1

Card sample

#0b71ff text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b71ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b71ff in the Color Lab