Home /Colors /#334F8E
#334F8E#334F8E

#334F8E color code is #334F8E. Use this page to get all code formats, explore shades and tints, and find colors that work with #334f8e.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #334F8E

#334F8E Accessibility & WCAG Contrast

Relative luminance of #334F8E is 0.0825. Its WCAG contrast ratio is 7.93:1 against white and 2.65:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#334F8E on white7.93:1AAA
The quick brown fox
#334F8E on black2.65:1Fail
The quick brown fox
White on #334F8E7.93:1AAA
The quick brown fox
Black on #334F8E2.65:1Fail

#334F8E — Frequently Asked Questions

What is the hex code for #334F8E?+
The hex code for #334F8E is #334F8E. In RGB it's rgb(51, 79, 142), and in HSL it's hsl(222, 47%, 38%).
What is the RGB value of #334F8E?+
#334F8E in RGB is (51, 79, 142). Written in CSS: rgb(51, 79, 142).
What is the CMYK value of #334F8E?+
#334F8E converts to CMYK(64%, 44%, 0%, 44%) for print. Hex equivalent is #334F8E.
Is #334f8e a warm or cool color?+
#334F8E (#334F8E) is a cool blue — its hue sits at 222° on the color wheel, placing it in the cool part of the spectrum.
What color family does #334f8e belong to?+
#334F8E belongs to the blue family. Its HSL is 222°, 47%, 38% — a cool tone within the broader blue group.
Is #334f8e accessible for body text on a white background?+
#334F8E on white reaches a WCAG contrast ratio of 7.93:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #334f8e?+
The nearest Pantone match for #334F8E (#334F8E) is 660 C Pantone 660 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #334F8E in design

Practical guidance for using #334f8e (#334F8E) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #334F8E (#334F8E) as primary text or icon color on white backgrounds — at 7.9:1 contrast it passes WCAG AAA for body copy. Avoid placing #334f8e text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #334F8E (#334F8E) reads as balanced and approachable and versatile across product tiers. It fits naturally into tech, finance, healthcare, productivity tools (the safe brand-color default). Pair it with a higher-contrast accent (warm if blue runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#334F8E flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#334F8E works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.