Skip to content
Kolorvia
#304aba

Color #304aba

A moderately saturated medium blue.

Conversions

HEX
#304aba
RGB
rgb(48, 74, 186)
HSL
hsl(228.7, 59%, 45.9%)
HSV / HSB
hsv(228.7, 74.2%, 72.9%)
CMYK
cmyk(74.2%, 60.2%, 0%, 27.1%)
LAB
lab(36.12, 29.81, -61.86)
LCH
lch(36.12, 68.67, 295.73)
OKLCH
oklch(46.1%, 0.1787, 268.36)
HWB
hwb(228.7, 18.8%, 27.1%)

Harmony colors

Complementary

#baa030

Analogous

#308fba
#304aba
#5b30ba

Triadic

#304aba
#ba304a
#4aba30

Split-complementary

#304aba
#ba5b30
#8fba30

Tetradic

#304aba
#a030ba
#baa030
#4aba30

Square

#304aba
#ba308f
#baa030
#30ba5b

Shades

Color #304aba mixed toward black.

#283e9b
#20317c
#18255d
#10193e
#080c1f

Tints

Color #304aba mixed toward white.

#4862d0
#6d81d9
#91a1e3
#b6c0ec
#dae0f6

Tones

Color #304aba mixed toward gray.

#3b51af
#4758a3
#536098
#5e678c
#6a6e81

Accessibility

Aa White text on this color
7.46:1
Aa Black text on this color
2.81:1

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

Under color vision deficiencies

Protanopia

#3d3da7 · ΔE 5.2

Deuteranopia

#3b39a3 · ΔE 6.3

Tritanopia

#329793 · ΔE 39

Achromatopsia

#555555 · ΔE 27

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

Code

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

Related colors

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

Frequently asked questions

#304aba (#304aba) is rgb(48, 74, 186) in RGB.

No, #304aba 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 #304aba, 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.