Skip to content

#260fac

a dark, electric blue · warm · closest name: navy

RGB
38, 15, 172
HSL
249°, 84%, 37%
CMYK
78, 91, 0, 33
Luminance
0.0373

Every format

HEX#260fac
RGBrgb(38, 15, 172)
HSLhsl(249, 84%, 37%)
CMYKcmyk(78%, 91%, 0%, 33%)
LABlab(22.8 55.8 -75.6)
LCHlch(22.8 93.9 306.4)
OKLCHoklch(0.360 0.219 272.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#260fac on white: 12.02:1
AA ✓ pass · AA-large · AAA
Aa
#260fac on black: 1.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.9%
Green5.9%
Blue67.5%

CMYK percentages

Cyan77.9%
Magenta91.3%
Yellow0.0%
Key (black)32.5%

Color previews

#260fac text on a black background

contrast 1.75:1

Card sample

#260fac text on a white background

contrast 12.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #260fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #260fac in the Color Lab