Skip to content

#280dbf

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

RGB
40, 13, 191
HSL
249°, 87%, 40%
CMYK
79, 93, 0, 25
Luminance
0.0450

Every format

HEX#280dbf
RGBrgb(40, 13, 191)
HSLhsl(249, 87%, 40%)
CMYKcmyk(79%, 93%, 0%, 25%)
LABlab(25.3 61.5 -82.8)
LCHlch(25.3 103.1 306.6)
OKLCHoklch(0.384 0.239 271.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#280dbf on white: 11.05:1
AA ✓ pass · AA-large · AAA
Aa
#280dbf on black: 1.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.7%
Green5.1%
Blue74.9%

CMYK percentages

Cyan79.1%
Magenta93.2%
Yellow0.0%
Key (black)25.1%

Color previews

#280dbf text on a black background

contrast 1.90:1

Card sample

#280dbf text on a white background

contrast 11.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 13, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 13, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280dbf;
background: linear-gradient(135deg, #280dbf, #9F0DBF);

Monochromatic scale

Palettes built from #280dbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #280dbf in the Color Lab