Skip to content

#0b40df

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

RGB
11, 64, 223
HSL
225°, 91%, 46%
CMYK
95, 71, 0, 13
Luminance
0.0907

Every format

HEX#0b40df
RGBrgb(11, 64, 223)
HSLhsl(225, 91%, 46%)
CMYKcmyk(95%, 71%, 0%, 13%)
LABlab(36.1 47.3 -83.4)
LCHlch(36.1 95.9 299.6)
OKLCHoklch(0.468 0.243 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b40df on white: 7.46:1
AA ✓ pass · AA-large · AAA
Aa
#0b40df on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green25.1%
Blue87.5%

CMYK percentages

Cyan95.1%
Magenta71.3%
Yellow0.0%
Key (black)12.5%

Color previews

#0b40df text on a black background

contrast 2.81:1

Card sample

#0b40df text on a white background

contrast 7.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b40df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b40df in the Color Lab