Skip to content

#2b0df7

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

RGB
43, 13, 247
HSL
248°, 94%, 51%
CMYK
83, 95, 0, 3
Luminance
0.0752

Every format

HEX#2b0df7
RGBrgb(43, 13, 247)
HSLhsl(248, 94%, 51%)
CMYKcmyk(83%, 95%, 0%, 3%)
LABlab(33.0 75.7 -102.2)
LCHlch(33.0 127.2 306.5)
OKLCHoklch(0.457 0.295 269.3)

Copy-ready code

/* CSS */
color: #2b0df7;
background-color: #2b0df7;
/* Tailwind (arbitrary) */
class="text-[#2b0df7] bg-[#2b0df7]"
/* SCSS */
$brand: #2b0df7;
/* SwiftUI */
Color(red: 0.169, green: 0.051, blue: 0.969)
/* Android */
Color.parseColor("#2b0df7")

Accessibility — WCAG contrast

Aa
#2b0df7 on white: 8.39:1
AA ✓ pass · AA-large · AAA
Aa
#2b0df7 on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green5.1%
Blue96.9%

CMYK percentages

Cyan82.6%
Magenta94.7%
Yellow0.0%
Key (black)3.1%

Color previews

#2b0df7 text on a black background

contrast 2.50:1

Card sample

#2b0df7 text on a white background

contrast 8.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2b0df7;
Background color
Panel with #2b0df7 background
background-color: #2b0df7;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 13, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 13, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b0df7;
background: linear-gradient(135deg, #2b0df7, #C70DF7);

Monochromatic scale

Palettes built from #2b0df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2b0df7 in the Color Lab