Home /Colors /#5340BF
#5340BF#5340BF

#5340BF color code is #5340BF. Use this page to get all code formats, explore shades and tints, and find colors that work with #5340bf.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #5340BF

#5340BF Accessibility & WCAG Contrast

Relative luminance of #5340BF is 0.0927. Its WCAG contrast ratio is 7.36:1 against white and 2.85:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#5340BF on white7.36:1AAA
The quick brown fox
#5340BF on black2.85:1Fail
The quick brown fox
White on #5340BF7.36:1AAA
The quick brown fox
Black on #5340BF2.85:1Fail

#5340BF — Frequently Asked Questions

What is the hex code for #5340BF?+
The hex code for #5340BF is #5340BF. In RGB it's rgb(83, 64, 191), and in HSL it's hsl(249, 50%, 50%).
What is the RGB value of #5340BF?+
#5340BF in RGB is (83, 64, 191). Written in CSS: rgb(83, 64, 191).
What is the CMYK value of #5340BF?+
#5340BF converts to CMYK(57%, 66%, 0%, 25%) for print. Hex equivalent is #5340BF.
Is #5340bf a warm or cool color?+
#5340BF (#5340BF) is a cool purple — its hue sits at 249° on the color wheel, placing it in the cool part of the spectrum.
What color family does #5340bf belong to?+
#5340BF belongs to the purple family. Its HSL is 249°, 50%, 50% — a cool tone within the broader purple group.
Is #5340bf accessible for body text on a white background?+
#5340BF on white reaches a WCAG contrast ratio of 7.36:1 — passes WCAG AAA for body text on white.
What is the closest Pantone match for #5340bf?+
The nearest Pantone match for #5340BF (#5340BF) is 265 C Pantone 265 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #5340BF in design

Practical guidance for using #5340bf (#5340BF) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

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

Branding & identity

As a brand color, #5340BF (#5340BF) reads as balanced and approachable and versatile across product tiers. It fits naturally into luxury, beauty, creative, premium subscription products. Pair it with a higher-contrast accent (warm if purple 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

#5340BF 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

#5340BF 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.

Brands that use #5340BF

Major brands whose official palette contains a color within ~30 RGB units of #5340bf (#5340BF). Click through for the full brand color guide.

GitHub#6E40C9 · GitHub Purple