Skip to content

#280690

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

RGB
40, 6, 144
HSL
255°, 92%, 29%
CMYK
72, 96, 0, 44
Luminance
0.0259

Every format

HEX#280690
RGBrgb(40, 6, 144)
HSLhsl(255, 92%, 29%)
CMYKcmyk(72%, 96%, 0%, 44%)
LABlab(18.3 50.8 -65.8)
LCHlch(18.3 83.1 307.7)
OKLCHoklch(0.320 0.191 277.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280690 on white: 13.82:1
AA ✓ pass · AA-large · AAA
Aa
#280690 on black: 1.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green2.4%
Blue56.5%

CMYK percentages

Cyan72.2%
Magenta95.8%
Yellow0.0%
Key (black)43.5%

Color previews

#280690 text on a black background

contrast 1.52:1

Card sample

#280690 text on a white background

contrast 13.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 6, 144, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 6, 144, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280690;
background: linear-gradient(135deg, #280690, #840690);

Monochromatic scale

Palettes built from #280690

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280690 in the Color Lab