Skip to content

#0f7ace

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

RGB
15, 122, 206
HSL
206°, 86%, 43%
CMYK
93, 41, 0, 19
Luminance
0.1848

Every format

HEX#0f7ace
RGBrgb(15, 122, 206)
HSLhsl(206, 86%, 43%)
CMYKcmyk(93%, 41%, 0%, 19%)
LABlab(50.1 3.9 -51.0)
LCHlch(50.1 51.1 274.4)
OKLCHoklch(0.570 0.155 249.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7ace on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#0f7ace on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green47.8%
Blue80.8%

CMYK percentages

Cyan92.7%
Magenta40.8%
Yellow0.0%
Key (black)19.2%

Color previews

#0f7ace text on a black background

contrast 4.70:1

Card sample

#0f7ace text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 122, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 122, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7ace;
background: linear-gradient(135deg, #0f7ace, #230FCE);

Monochromatic scale

Palettes built from #0f7ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7ace in the Color Lab