Skip to content

#276ccc

a balanced, vivid blue · cool · closest name: dodgerblue

RGB
39, 108, 204
HSL
215°, 68%, 48%
CMYK
81, 47, 0, 20
Luminance
0.1552

Every format

HEX#276ccc
RGBrgb(39, 108, 204)
HSLhsl(215, 68%, 48%)
CMYKcmyk(81%, 47%, 0%, 20%)
LABlab(46.3 13.6 -55.8)
LCHlch(46.3 57.4 283.7)
OKLCHoklch(0.541 0.164 257.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#276ccc on white: 5.12:1
AA ✓ pass · AA-large · AAA
Aa
#276ccc on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green42.4%
Blue80.0%

CMYK percentages

Cyan80.9%
Magenta47.1%
Yellow0.0%
Key (black)20.0%

Color previews

#276ccc text on a black background

contrast 4.10:1

Card sample

#276ccc text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(39, 108, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(39, 108, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #276ccc;
background: linear-gradient(135deg, #276ccc, #5027CC);

Monochromatic scale

Palettes built from #276ccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #276ccc in the Color Lab