Skip to content

#2b1dff

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

RGB
43, 29, 255
HSL
244°, 100%, 56%
CMYK
83, 89, 0, 0
Luminance
0.0861

Every format

HEX#2b1dff
RGBrgb(43, 29, 255)
HSLhsl(244, 100%, 56%)
CMYKcmyk(83%, 89%, 0%, 0%)
LABlab(35.2 74.0 -103.0)
LCHlch(35.2 126.8 305.7)
OKLCHoklch(0.475 0.298 268.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2b1dff on white: 7.71:1
AA ✓ pass · AA-large · AAA
Aa
#2b1dff on black: 2.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green11.4%
Blue100.0%

CMYK percentages

Cyan83.1%
Magenta88.6%
Yellow0.0%
Key (black)0.0%

Color previews

#2b1dff text on a black background

contrast 2.72:1

Card sample

#2b1dff text on a white background

contrast 7.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b1dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2b1dff in the Color Lab