Skip to content

#2f3dbf

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

RGB
47, 61, 191
HSL
234°, 61%, 47%
CMYK
75, 68, 0, 25
Luminance
0.0770

Every format

HEX#2f3dbf
RGBrgb(47, 61, 191)
HSLhsl(234, 61%, 47%)
CMYKcmyk(75%, 68%, 0%, 25%)
LABlab(33.4 39.8 -69.3)
LCHlch(33.4 79.9 299.8)
OKLCHoklch(0.442 0.201 270.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f3dbf on white: 8.27:1
AA ✓ pass · AA-large · AAA
Aa
#2f3dbf on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green23.9%
Blue74.9%

CMYK percentages

Cyan75.4%
Magenta68.1%
Yellow0.0%
Key (black)25.1%

Color previews

#2f3dbf text on a black background

contrast 2.54:1

Card sample

#2f3dbf text on a white background

contrast 8.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f3dbf;
Background color
Panel with #2f3dbf background
background-color: #2f3dbf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 61, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 61, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3dbf;
background: linear-gradient(135deg, #2f3dbf, #812FBF);

Monochromatic scale

Palettes built from #2f3dbf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3dbf in the Color Lab