Skip to content

#0b20ff

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

RGB
11, 32, 255
HSL
235°, 100%, 52%
CMYK
96, 88, 0, 0
Luminance
0.0832

Every format

HEX#0b20ff
RGBrgb(11, 32, 255)
HSLhsl(235, 100%, 52%)
CMYKcmyk(96%, 88%, 0%, 0%)
LABlab(34.6 72.5 -103.9)
LCHlch(34.6 126.7 304.9)
OKLCHoklch(0.468 0.302 264.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b20ff on white: 7.88:1
AA ✓ pass · AA-large · AAA
Aa
#0b20ff on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green12.5%
Blue100.0%

CMYK percentages

Cyan95.7%
Magenta87.5%
Yellow0.0%
Key (black)0.0%

Color previews

#0b20ff text on a black background

contrast 2.66:1

Card sample

#0b20ff text on a white background

contrast 7.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b20ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b20ff in the Color Lab