Skip to content

#6c8ef1

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

RGB
108, 142, 241
HSL
225°, 83%, 68%
CMYK
55, 41, 0, 6
Luminance
0.2889

Every format

HEX#6c8ef1
RGBrgb(108, 142, 241)
HSLhsl(225, 83%, 68%)
CMYKcmyk(55%, 41%, 0%, 6%)
LABlab(60.7 16.3 -53.5)
LCHlch(60.7 55.9 287.0)
OKLCHoklch(0.667 0.152 267.9)

Copy-ready code

/* CSS */
color: #6c8ef1;
background-color: #6c8ef1;
/* Tailwind (arbitrary) */
class="text-[#6c8ef1] bg-[#6c8ef1]"
/* SCSS */
$brand: #6c8ef1;
/* SwiftUI */
Color(red: 0.424, green: 0.557, blue: 0.945)
/* Android */
Color.parseColor("#6c8ef1")

Accessibility — WCAG contrast

Aa
#6c8ef1 on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#6c8ef1 on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red42.4%
Green55.7%
Blue94.5%

CMYK percentages

Cyan55.2%
Magenta41.1%
Yellow0.0%
Key (black)5.5%

Color previews

#6c8ef1 text on a black background

contrast 6.78:1

Card sample

#6c8ef1 text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6c8ef1;
Background color
Panel with #6c8ef1 background
background-color: #6c8ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6c8ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(108, 142, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 142, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c8ef1;
background: linear-gradient(135deg, #6c8ef1, #A36CF1);

Monochromatic scale

Palettes built from #6c8ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6c8ef1 in the Color Lab