Skip to content

#3640df

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

RGB
54, 64, 223
HSL
236°, 73%, 54%
CMYK
76, 71, 0, 13
Luminance
0.0978

Every format

HEX#3640df
RGBrgb(54, 64, 223)
HSLhsl(236, 73%, 54%)
CMYKcmyk(76%, 71%, 0%, 13%)
LABlab(37.4 49.5 -81.1)
LCHlch(37.4 95.1 301.4)
OKLCHoklch(0.481 0.235 270.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3640df on white: 7.10:1
AA ✓ pass · AA-large · AAA
Aa
#3640df on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red21.2%
Green25.1%
Blue87.5%

CMYK percentages

Cyan75.8%
Magenta71.3%
Yellow0.0%
Key (black)12.5%

Color previews

#3640df text on a black background

contrast 2.96:1

Card sample

#3640df text on a white background

contrast 7.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3640df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3640df in the Color Lab