Skip to content

#0959ba

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

RGB
9, 89, 186
HSL
213°, 91%, 38%
CMYK
95, 52, 0, 27
Luminance
0.1075

Every format

HEX#0959ba
RGBrgb(9, 89, 186)
HSLhsl(213, 91%, 38%)
CMYKcmyk(95%, 52%, 0%, 27%)
LABlab(39.1 16.9 -57.0)
LCHlch(39.1 59.4 286.5)
OKLCHoklch(0.481 0.168 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0959ba on white: 6.67:1
AA ✓ pass · AA-large · AAA
Aa
#0959ba on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.5%
Green34.9%
Blue72.9%

CMYK percentages

Cyan95.2%
Magenta52.2%
Yellow0.0%
Key (black)27.1%

Color previews

#0959ba text on a black background

contrast 3.15:1

Card sample

#0959ba text on a white background

contrast 6.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0959ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0959ba in the Color Lab