Skip to content

#7ba2f4

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

RGB
123, 162, 244
HSL
221°, 85%, 72%
CMYK
50, 34, 0, 4
Luminance
0.3658

Every format

HEX#7ba2f4
RGBrgb(123, 162, 244)
HSLhsl(221, 85%, 72%)
CMYKcmyk(50%, 34%, 0%, 4%)
LABlab(67.0 8.8 -45.1)
LCHlch(67.0 46.0 281.1)
OKLCHoklch(0.718 0.128 264.1)

Copy-ready code

/* CSS */
color: #7ba2f4;
background-color: #7ba2f4;
/* Tailwind (arbitrary) */
class="text-[#7ba2f4] bg-[#7ba2f4]"
/* SCSS */
$brand: #7ba2f4;
/* SwiftUI */
Color(red: 0.482, green: 0.635, blue: 0.957)
/* Android */
Color.parseColor("#7ba2f4")

Accessibility — WCAG contrast

Aa
#7ba2f4 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#7ba2f4 on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.2%
Green63.5%
Blue95.7%

CMYK percentages

Cyan49.6%
Magenta33.6%
Yellow0.0%
Key (black)4.3%

Color previews

#7ba2f4 text on a black background

contrast 8.32:1

Card sample

#7ba2f4 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7ba2f4;
Background color
Panel with #7ba2f4 background
background-color: #7ba2f4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7ba2f4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(123, 162, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 162, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7ba2f4;
background: linear-gradient(135deg, #7ba2f4, #A57BF4);

Monochromatic scale

Palettes built from #7ba2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7ba2f4 in the Color Lab