Skip to content

#0f7cdd

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

RGB
15, 124, 221
HSL
208°, 87%, 46%
CMYK
93, 44, 0, 13
Luminance
0.1974

Every format

HEX#0f7cdd
RGBrgb(15, 124, 221)
HSLhsl(208, 87%, 46%)
CMYKcmyk(93%, 44%, 0%, 13%)
LABlab(51.5 8.5 -57.1)
LCHlch(51.5 57.7 278.5)
OKLCHoklch(0.584 0.172 252.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7cdd on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#0f7cdd on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green48.6%
Blue86.7%

CMYK percentages

Cyan93.2%
Magenta43.9%
Yellow0.0%
Key (black)13.3%

Color previews

#0f7cdd text on a black background

contrast 4.95:1

Card sample

#0f7cdd text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 124, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 124, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7cdd;
background: linear-gradient(135deg, #0f7cdd, #2C0FDD);

Monochromatic scale

Palettes built from #0f7cdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7cdd in the Color Lab