Skip to content

#0f79cf

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

RGB
15, 121, 207
HSL
207°, 87%, 44%
CMYK
93, 42, 0, 19
Luminance
0.1828

Every format

HEX#0f79cf
RGBrgb(15, 121, 207)
HSLhsl(207, 87%, 44%)
CMYKcmyk(93%, 42%, 0%, 19%)
LABlab(49.8 4.9 -51.9)
LCHlch(49.8 52.1 275.4)
OKLCHoklch(0.568 0.158 250.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f79cf on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#0f79cf on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green47.5%
Blue81.2%

CMYK percentages

Cyan92.8%
Magenta41.5%
Yellow0.0%
Key (black)18.8%

Color previews

#0f79cf text on a black background

contrast 4.66:1

Card sample

#0f79cf text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 121, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 121, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f79cf;
background: linear-gradient(135deg, #0f79cf, #250FCF);

Monochromatic scale

Palettes built from #0f79cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f79cf in the Color Lab