Skip to content
Kolorvia
#334db4

Color #334db4

A moderately saturated medium blue.

Conversions

HEX
#334db4
RGB
rgb(51, 77, 180)
HSL
hsl(227.9, 55.8%, 45.3%)
HSV / HSB
hsv(227.9, 71.7%, 70.6%)
CMYK
cmyk(71.7%, 57.2%, 0%, 29.4%)
LAB
lab(36.57, 26.02, -57.59)
LCH
lch(36.57, 63.2, 294.31)
OKLCH
oklch(46.3%, 0.1661, 268.38)
HWB
hwb(227.9, 20%, 29.4%)

Harmony colors

Complementary

#b49a33

Analogous

#338eb4
#334db4
#5a33b4

Triadic

#334db4
#b4334d
#4db433

Split-complementary

#334db4
#b45a33
#8eb433

Tetradic

#334db4
#9a33b4
#b49a33
#4db433

Square

#334db4
#b4338e
#b49a33
#33b45a

Shades

Color #334db4 mixed toward black.

#2b4096
#223378
#1a275a
#111a3c
#090d1e

Tints

Color #334db4 mixed toward white.

#4a64cc
#6e83d6
#92a2e0
#b7c1ea
#dbe0f5

Tones

Color #334db4 mixed toward gray.

#3e53a9
#495a9e
#536094
#5e6789
#696d7e

Accessibility

Aa White text on this color
7.34:1
Aa Black text on this color
2.86:1

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

Under color vision deficiencies

Protanopia

#4040a3 · ΔE 5.4

Deuteranopia

#3e3c9e · ΔE 6.5

Tritanopia

#35938f · ΔE 37.1

Achromatopsia

#565656 · ΔE 26.2

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

Code

CSS
background-color: #334db4;
Tailwind (arbitrary value)
bg-[#334db4]

Related colors

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

Frequently asked questions

#334db4 (#334db4) is rgb(51, 77, 180) in RGB.

No, #334db4 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 #334db4, 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.