Skip to content

#0280ff

a balanced, electric blue · cool · closest name: royalblue

RGB
2, 128, 255
HSL
210°, 100%, 50%
CMYK
99, 50, 0, 0
Luminance
0.2267

Every format

HEX#0280ff
RGBrgb(2, 128, 255)
HSLhsl(210, 100%, 50%)
CMYKcmyk(99%, 50%, 0%, 0%)
LABlab(54.7 18.8 -70.9)
LCHlch(54.7 73.4 284.9)
OKLCHoklch(0.615 0.211 256.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0280ff on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#0280ff on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.8%
Green50.2%
Blue100.0%

CMYK percentages

Cyan99.2%
Magenta49.8%
Yellow0.0%
Key (black)0.0%

Color previews

#0280ff text on a black background

contrast 5.53:1

Card sample

#0280ff text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0280ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0280ff in the Color Lab