Skip to content

#0df2fb

a balanced, electric cyan · cool · closest name: cyan

RGB
13, 242, 251
HSL
182°, 97%, 52%
CMYK
95, 4, 0, 2
Luminance
0.7055

Every format

HEX#0df2fb
RGBrgb(13, 242, 251)
HSLhsl(182, 97%, 52%)
CMYKcmyk(95%, 4%, 0%, 2%)
LABlab(87.3 -43.3 -17.8)
LCHlch(87.3 46.8 202.4)
OKLCHoklch(0.874 0.148 199.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df2fb on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#0df2fb on black: 15.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green94.9%
Blue98.4%

CMYK percentages

Cyan94.8%
Magenta3.6%
Yellow0.0%
Key (black)1.6%

Color previews

#0df2fb text on a black background

contrast 15.11:1

Card sample

#0df2fb text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 242, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 242, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0df2fb;
background: linear-gradient(135deg, #0df2fb, #0D53FB);

Monochromatic scale

Palettes built from #0df2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df2fb in the Color Lab