Palettes / Colors / #334FDB
#334FDB — Blue
#334FDB is a blue color we call Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.
#334FDB is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #DBBF33; it also sits naturally between #33A3DB and #6B33DB. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #334FDB |
|---|---|
| RGB | 51, 79, 219 |
| HSL | 230°, 70%, 53% |
| HSV | 230°, 77%, 86% |
| CMYK | 77%, 64%, 0%, 14% |
| XYZ | 16.95, 11.41, 68.33 |
| Yxy | 11.41, 0.1753, 0.1180 |
| CIE-Lab | 40.26, 38.91, -74.22 |
| Hunter Lab | 33.78, 32.76, -101.90 |
RGB & CMYK percentages
Red 20% · Green 31% · Blue 86%
Cyan 77% · Magenta 64% · Yellow 0% · Key 14%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #334FDB
.text { color: #334FDB; }
.background { background-color: #334FDB; }
.border { border: 3px solid #334FDB; }
.text-rgb { color: rgb(51, 79, 219); }
.text-hsl { color: hsl(230, 70%, 53%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #334FDB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(51, 79, 219, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #334FDB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(51, 79, 219, 0.8); }
HTML: <p style="color:#334FDB">Text here</p> · <div style="background-color:#334FDB">Div content here</div>
Shades of #334FDB
Tints of #334FDB
Tones of #334FDB
Color harmonies
Complementary — #DBBF33:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 6.40:1 AA |
|---|---|
| Against black text | 3.28:1 AA large only |
Best text color on #334FDB: #FFFFFF.
How #334FDB looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #334FDB rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #334FDB?
#334FDB is Blue, a blue color (RGB 51, 79, 219). Its closest standard named color is RoyalBlue.
What is the RGB and HSL of #334FDB?
#334FDB is RGB 51, 79, 219 — HSL 230°, 70%, 53% — CMYK 77%, 64%, 0%, 14%.
What colors go with #334FDB?
Its complement is #DBBF33; analogous partners are #33A3DB and #6B33DB. It also appears in 6+ palettes in our collection.
Can I use #334FDB for text?
White text on #334FDB has a contrast ratio of 6.40:1 (passes WCAG AA); black text gives 3.28:1.