Skip to content

#293fac

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

RGB
41, 63, 172
HSL
230°, 62%, 42%
CMYK
76, 63, 0, 33
Luminance
0.0700

Every format

HEX#293fac
RGBrgb(41, 63, 172)
HSLhsl(230, 62%, 42%)
CMYKcmyk(76%, 63%, 0%, 33%)
LABlab(31.8 31.0 -60.6)
LCHlch(31.8 68.1 297.1)
OKLCHoklch(0.424 0.175 268.7)

Copy-ready code

/* CSS */
color: #293fac;
background-color: #293fac;
/* Tailwind (arbitrary) */
class="text-[#293fac] bg-[#293fac]"
/* SCSS */
$brand: #293fac;
/* SwiftUI */
Color(red: 0.161, green: 0.247, blue: 0.675)
/* Android */
Color.parseColor("#293fac")

Accessibility — WCAG contrast

Aa
#293fac on white: 8.75:1
AA ✓ pass · AA-large · AAA
Aa
#293fac on black: 2.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.1%
Green24.7%
Blue67.5%

CMYK percentages

Cyan76.2%
Magenta63.4%
Yellow0.0%
Key (black)32.5%

Color previews

#293fac text on a black background

contrast 2.40:1

Card sample

#293fac text on a white background

contrast 8.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #293fac;
Background color
Panel with #293fac background
background-color: #293fac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 63, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 63, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #293fac;
background: linear-gradient(135deg, #293fac, #6A29AC);

Monochromatic scale

Palettes built from #293fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #293fac in the Color Lab