Skip to content

#260afd

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

RGB
38, 10, 253
HSL
247°, 98%, 52%
CMYK
85, 96, 0, 1
Luminance
0.0772

Every format

HEX#260afd
RGBrgb(38, 10, 253)
HSLhsl(247, 98%, 52%)
CMYKcmyk(85%, 96%, 0%, 1%)
LABlab(33.4 77.6 -104.9)
LCHlch(33.4 130.4 306.5)
OKLCHoklch(0.461 0.303 268.1)

Copy-ready code

/* CSS */
color: #260afd;
background-color: #260afd;
/* Tailwind (arbitrary) */
class="text-[#260afd] bg-[#260afd]"
/* SCSS */
$brand: #260afd;
/* SwiftUI */
Color(red: 0.149, green: 0.039, blue: 0.992)
/* Android */
Color.parseColor("#260afd")

Accessibility — WCAG contrast

Aa
#260afd on white: 8.25:1
AA ✓ pass · AA-large · AAA
Aa
#260afd on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.9%
Green3.9%
Blue99.2%

CMYK percentages

Cyan85.0%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#260afd text on a black background

contrast 2.54:1

Card sample

#260afd text on a white background

contrast 8.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #260afd;
Background color
Panel with #260afd background
background-color: #260afd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(38, 10, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 10, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #260afd;
background: linear-gradient(135deg, #260afd, #C80AFD);

Monochromatic scale

Palettes built from #260afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #260afd in the Color Lab