Skip to content
Kolorvia
#304cdf

Color #304cdf

A vivid, highly saturated medium blue.

Conversions

HEX
#304cdf
RGB
rgb(48, 76, 223)
HSL
hsl(230.4, 73.2%, 53.1%)
HSV / HSB
hsv(230.4, 78.5%, 87.5%)
CMYK
cmyk(78.5%, 65.9%, 0%, 12.5%)
LAB
lab(39.79, 41.9, -77.28)
LCH
lch(39.79, 87.91, 298.47)
OKLCH
oklch(49.8%, 0.2239, 268.11)
HWB
hwb(230.4, 18.8%, 12.5%)

Harmony colors

Complementary

#dfc330

Analogous

#30a3df
#304cdf
#6b30df

Triadic

#304cdf
#df304c
#4cdf30

Split-complementary

#304cdf
#df6b30
#a3df30

Tetradic

#304cdf
#c330df
#dfc330
#4cdf30

Square

#304cdf
#df30a3
#dfc330
#30df6b

Shades

Color #304cdf mixed toward black.

#1e39c3
#182d9c
#122275
#0c174e
#060b27

Tints

Color #304cdf mixed toward white.

#526ae4
#7588ea
#97a5ef
#bac3f4
#dce1fa

Tones

Color #304cdf mixed toward gray.

#3e56d0
#4d60c2
#5c6ab3
#6a74a5
#797d96

Accessibility

Aa White text on this color
6.51:1
Aa Black text on this color
3.22:1

White text reads better on this background (6.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#3e3ec8 · ΔE 5.1

Deuteranopia

#3c3ac2 · ΔE 6.4

Tritanopia

#32b3ae · ΔE 45.2

Achromatopsia

#5e5e5e · ΔE 29.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #304cdf;
Tailwind (arbitrary value)
bg-[#304cdf]

Related colors

Royal Blue #4169e1
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff

Frequently asked questions

#304cdf (#304cdf) is rgb(48, 76, 223) in RGB.

No, #304cdf is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #304cdf, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.