Skip to content

#0b4ddf

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

RGB
11, 77, 223
HSL
221°, 91%, 46%
CMYK
95, 66, 0, 13
Luminance
0.1071

Every format

HEX#0b4ddf
RGBrgb(11, 77, 223)
HSLhsl(221, 91%, 46%)
CMYKcmyk(95%, 66%, 0%, 13%)
LABlab(39.1 39.3 -78.5)
LCHlch(39.1 87.8 296.6)
OKLCHoklch(0.490 0.229 262.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b4ddf on white: 6.69:1
AA ✓ pass · AA-large · AAA
Aa
#0b4ddf on black: 3.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green30.2%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta65.5%
Yellow0.0%
Key (black)12.5%

Color previews

#0b4ddf text on a black background

contrast 3.14:1

Card sample

#0b4ddf text on a white background

contrast 6.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b4ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b4ddf in the Color Lab