Skip to content

#2b2bff

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

RGB
43, 43, 255
HSL
240°, 100%, 58%
CMYK
83, 83, 0, 0
Luminance
0.0946

Every format

HEX#2b2bff
RGBrgb(43, 43, 255)
HSLhsl(240, 100%, 58%)
CMYKcmyk(83%, 83%, 0%, 0%)
LABlab(36.9 69.1 -100.2)
LCHlch(36.9 121.7 304.6)
OKLCHoklch(0.486 0.290 268.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2b2bff on white: 7.26:1
AA ✓ pass · AA-large · AAA
Aa
#2b2bff on black: 2.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green16.9%
Blue100.0%

CMYK percentages

Cyan83.1%
Magenta83.1%
Yellow0.0%
Key (black)0.0%

Color previews

#2b2bff text on a black background

contrast 2.89:1

Card sample

#2b2bff text on a white background

contrast 7.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b2bff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2b2bff in the Color Lab