Skip to content

#097afd

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

RGB
9, 122, 253
HSL
212°, 98%, 51%
CMYK
96, 52, 0, 1
Luminance
0.2107

Every format

HEX#097afd
RGBrgb(9, 122, 253)
HSLhsl(212, 98%, 51%)
CMYKcmyk(96%, 52%, 0%, 1%)
LABlab(53.0 22.0 -72.6)
LCHlch(53.0 75.8 286.9)
OKLCHoklch(0.602 0.215 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#097afd on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#097afd on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.5%
Green47.8%
Blue99.2%

CMYK percentages

Cyan96.4%
Magenta51.8%
Yellow0.0%
Key (black)0.8%

Color previews

#097afd text on a black background

contrast 5.21:1

Card sample

#097afd text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #097afd;
Background color
Panel with #097afd background
background-color: #097afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #097afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(9, 122, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 122, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #097afd;
background: linear-gradient(135deg, #097afd, #3B09FD);

Monochromatic scale

Palettes built from #097afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #097afd in the Color Lab