Skip to content

#0b6cdf

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

RGB
11, 108, 223
HSL
213°, 91%, 46%
CMYK
95, 52, 0, 13
Luminance
0.1612

Every format

HEX#0b6cdf
RGBrgb(11, 108, 223)
HSLhsl(213, 91%, 46%)
CMYKcmyk(95%, 52%, 0%, 13%)
LABlab(47.1 19.3 -65.3)
LCHlch(47.1 68.1 286.4)
OKLCHoklch(0.550 0.193 257.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b6cdf on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#0b6cdf on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green42.4%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta51.6%
Yellow0.0%
Key (black)12.5%

Color previews

#0b6cdf text on a black background

contrast 4.22:1

Card sample

#0b6cdf text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b6cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b6cdf in the Color Lab