Skip to content

#4250df

a balanced, vivid blue · warm · closest name: slateblue

RGB
66, 80, 223
HSL
235°, 71%, 57%
CMYK
70, 64, 0, 13
Luminance
0.1222

Every format

HEX#4250df
RGBrgb(66, 80, 223)
HSLhsl(235, 71%, 57%)
CMYKcmyk(70%, 64%, 0%, 13%)
LABlab(41.6 41.3 -74.3)
LCHlch(41.6 85.0 299.0)
OKLCHoklch(0.513 0.215 271.9)

Copy-ready code

/* CSS */
color: #4250df;
background-color: #4250df;
/* Tailwind (arbitrary) */
class="text-[#4250df] bg-[#4250df]"
/* SCSS */
$brand: #4250df;
/* SwiftUI */
Color(red: 0.259, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#4250df")

Accessibility — WCAG contrast

Aa
#4250df on white: 6.10:1
AA ✓ pass · AA-large · AAA
Aa
#4250df on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green31.4%
Blue87.5%

CMYK percentages

Cyan70.4%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#4250df text on a black background

contrast 3.44:1

Card sample

#4250df text on a white background

contrast 6.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4250df;
Background color
Panel with #4250df background
background-color: #4250df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4250df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(66, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4250df;
background: linear-gradient(135deg, #4250df, #9D42DF);

Monochromatic scale

Palettes built from #4250df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4250df in the Color Lab