Skip to content
Kolorvia
#304bc5

Color #304bc5

A moderately saturated medium blue.

Conversions

HEX
#304bc5
RGB
rgb(48, 75, 197)
HSL
hsl(229.1, 60.8%, 48%)
HSV / HSB
hsv(229.1, 75.6%, 77.3%)
CMYK
cmyk(75.6%, 61.9%, 0%, 22.7%)
LAB
lab(37.28, 33.2, -66.4)
LCH
lch(37.28, 74.24, 296.57)
OKLCH
oklch(47.2%, 0.192, 268.27)
HWB
hwb(229.1, 18.8%, 22.7%)

Harmony colors

Complementary

#c5aa30

Analogous

#3095c5
#304bc5
#5f30c5

Triadic

#304bc5
#c5304b
#4bc530

Split-complementary

#304bc5
#c55f30
#95c530

Tetradic

#304bc5
#aa30c5
#c5aa30
#4bc530

Square

#304bc5
#c53095
#c5aa30
#30c55f

Shades

Color #304bc5 mixed toward black.

#283fa4
#203283
#182662
#101942
#080d21

Tints

Color #304bc5 mixed toward white.

#4d66d4
#7184dc
#94a3e5
#b8c2ee
#dbe0f6

Tones

Color #304bc5 mixed toward gray.

#3c53b8
#495bac
#5563a0
#626b93
#6e7387

Accessibility

Aa White text on this color
7.15:1
Aa Black text on this color
2.94:1

White text reads better on this background (7.15:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#3d3eb1 · ΔE 5

Deuteranopia

#3c3aac · ΔE 6.2

Tritanopia

#329f9b · ΔE 41

Achromatopsia

#585858 · ΔE 27.8

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#304bc5 (#304bc5) is rgb(48, 75, 197) in RGB.

No, #304bc5 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #304bc5, 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.