Skip to content

#2f3ada

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

RGB
47, 58, 218
HSL
236°, 70%, 52%
CMYK
78, 73, 0, 15
Luminance
0.0869

Every format

HEX#2f3ada
RGBrgb(47, 58, 218)
HSLhsl(236, 70%, 52%)
CMYKcmyk(78%, 73%, 0%, 15%)
LABlab(35.4 50.7 -81.7)
LCHlch(35.4 96.2 301.8)
OKLCHoklch(0.464 0.237 270.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f3ada on white: 7.67:1
AA ✓ pass · AA-large · AAA
Aa
#2f3ada on black: 2.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green22.7%
Blue85.5%

CMYK percentages

Cyan78.4%
Magenta73.4%
Yellow0.0%
Key (black)14.5%

Color previews

#2f3ada text on a black background

contrast 2.74:1

Card sample

#2f3ada text on a white background

contrast 7.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 58, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 58, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f3ada;
background: linear-gradient(135deg, #2f3ada, #962FDA);

Monochromatic scale

Palettes built from #2f3ada

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f3ada in the Color Lab