Skip to content

#0959ff

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

RGB
9, 89, 255
HSL
221°, 100%, 52%
CMYK
97, 65, 0, 0
Luminance
0.1442

Every format

HEX#0959ff
RGBrgb(9, 89, 255)
HSLhsl(221, 100%, 52%)
CMYKcmyk(97%, 65%, 0%, 0%)
LABlab(44.8 43.5 -87.0)
LCHlch(44.8 97.3 296.6)
OKLCHoklch(0.541 0.255 262.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0959ff on white: 5.41:1
AA ✓ pass · AA-large · AAA
Aa
#0959ff on black: 3.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.5%
Green34.9%
Blue100.0%

CMYK percentages

Cyan96.5%
Magenta65.1%
Yellow0.0%
Key (black)0.0%

Color previews

#0959ff text on a black background

contrast 3.88:1

Card sample

#0959ff text on a white background

contrast 5.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(9, 89, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 89, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0959ff;
background: linear-gradient(135deg, #0959ff, #5D09FF);

Monochromatic scale

Palettes built from #0959ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0959ff in the Color Lab