Skip to content

#0c78df

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

RGB
12, 120, 223
HSL
209°, 90%, 46%
CMYK
95, 46, 0, 13
Luminance
0.1884

Every format

HEX#0c78df
RGBrgb(12, 120, 223)
HSLhsl(209, 90%, 46%)
CMYKcmyk(95%, 46%, 0%, 13%)
LABlab(50.5 11.7 -59.9)
LCHlch(50.5 61.0 281.0)
OKLCHoklch(0.576 0.179 254.1)

Copy-ready code

/* CSS */
color: #0c78df;
background-color: #0c78df;
/* Tailwind (arbitrary) */
class="text-[#0c78df] bg-[#0c78df]"
/* SCSS */
$brand: #0c78df;
/* SwiftUI */
Color(red: 0.047, green: 0.471, blue: 0.875)
/* Android */
Color.parseColor("#0c78df")

Accessibility — WCAG contrast

Aa
#0c78df on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#0c78df on black: 4.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green47.1%
Blue87.5%

CMYK percentages

Cyan94.6%
Magenta46.2%
Yellow0.0%
Key (black)12.5%

Color previews

#0c78df text on a black background

contrast 4.77:1

Card sample

#0c78df text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0c78df;
Background color
Panel with #0c78df background
background-color: #0c78df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0c78df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(12, 120, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 120, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c78df;
background: linear-gradient(135deg, #0c78df, #2D0CDF);

Monochromatic scale

Palettes built from #0c78df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0c78df in the Color Lab