Skip to content

#0b3afd

a balanced, electric blue · warm · closest name: blue

RGB
11, 58, 253
HSL
228°, 98%, 52%
CMYK
96, 77, 0, 1
Luminance
0.1019

Every format

HEX#0b3afd
RGBrgb(11, 58, 253)
HSLhsl(228, 98%, 52%)
CMYKcmyk(96%, 77%, 0%, 1%)
LABlab(38.2 60.8 -96.9)
LCHlch(38.2 114.4 302.1)
OKLCHoklch(0.492 0.282 264.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b3afd on white: 6.91:1
AA ✓ pass · AA-large · AAA
Aa
#0b3afd on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green22.7%
Blue99.2%

CMYK percentages

Cyan95.7%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#0b3afd text on a black background

contrast 3.04:1

Card sample

#0b3afd text on a white background

contrast 6.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b3afd;
background: linear-gradient(135deg, #0b3afd, #7D0BFD);

Monochromatic scale

Palettes built from #0b3afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b3afd in the Color Lab