Skip to content

#276dfb

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

RGB
39, 109, 251
HSL
220°, 96%, 57%
CMYK
85, 57, 0, 2
Luminance
0.1833

Every format

HEX#276dfb
RGBrgb(39, 109, 251)
HSLhsl(220, 96%, 57%)
CMYKcmyk(85%, 57%, 0%, 2%)
LABlab(49.9 30.7 -76.5)
LCHlch(49.9 82.5 291.9)
OKLCHoklch(0.579 0.223 262.2)

Copy-ready code

/* CSS */
color: #276dfb;
background-color: #276dfb;
/* Tailwind (arbitrary) */
class="text-[#276dfb] bg-[#276dfb]"
/* SCSS */
$brand: #276dfb;
/* SwiftUI */
Color(red: 0.153, green: 0.427, blue: 0.984)
/* Android */
Color.parseColor("#276dfb")

Accessibility — WCAG contrast

Aa
#276dfb on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#276dfb on black: 4.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green42.7%
Blue98.4%

CMYK percentages

Cyan84.5%
Magenta56.6%
Yellow0.0%
Key (black)1.6%

Color previews

#276dfb text on a black background

contrast 4.67:1

Card sample

#276dfb text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(39, 109, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 109, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #276dfb;
background: linear-gradient(135deg, #276dfb, #6E27FB);

Monochromatic scale

Palettes built from #276dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #276dfb in the Color Lab