Skip to content

#3d4fdf

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

RGB
61, 79, 223
HSL
233°, 72%, 56%
CMYK
73, 65, 0, 13
Luminance
0.1191

Every format

HEX#3d4fdf
RGBrgb(61, 79, 223)
HSLhsl(233, 72%, 56%)
CMYKcmyk(73%, 65%, 0%, 13%)
LABlab(41.1 41.3 -75.2)
LCHlch(41.1 85.8 298.8)
OKLCHoklch(0.509 0.217 270.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3d4fdf on white: 6.21:1
AA ✓ pass · AA-large · AAA
Aa
#3d4fdf on black: 3.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green31.0%
Blue87.5%

CMYK percentages

Cyan72.6%
Magenta64.6%
Yellow0.0%
Key (black)12.5%

Color previews

#3d4fdf text on a black background

contrast 3.38:1

Card sample

#3d4fdf text on a white background

contrast 6.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3d4fdf;
Background color
Panel with #3d4fdf background
background-color: #3d4fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3d4fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(61, 79, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 79, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d4fdf;
background: linear-gradient(135deg, #3d4fdf, #973DDF);

Monochromatic scale

Palettes built from #3d4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3d4fdf in the Color Lab