Skip to content

#0f7fac

a dark, electric cyan · cool · closest name: steelblue

RGB
15, 127, 172
HSL
197°, 84%, 37%
CMYK
91, 26, 0, 33
Luminance
0.1826

Every format

HEX#0f7fac
RGBrgb(15, 127, 172)
HSLhsl(197, 84%, 37%)
CMYKcmyk(91%, 26%, 0%, 33%)
LABlab(49.8 -12.1 -31.8)
LCHlch(49.8 34.0 249.2)
OKLCHoklch(0.562 0.113 233.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green49.8%
Blue67.5%

CMYK percentages

Cyan91.3%
Magenta26.2%
Yellow0.0%
Key (black)32.5%

Color previews

#0f7fac text on a black background

contrast 4.65:1

Card sample

#0f7fac text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 127, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 127, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7fac;
background: linear-gradient(135deg, #0f7fac, #0F16AC);

Monochromatic scale

Palettes built from #0f7fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7fac in the Color Lab