Color #313D81 Color / Colour Code #313D81
This page shows the hex color code for color #313d81 (#313D81). The colour is a blue tone with 45% saturation and 35% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #313D81 against common backgrounds.
Complementary Colors
#313D81 paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 201, 231, and 261 degrees for harmonious combinations.
Triadic Palette
Three colors at 231, 351, and 111 degrees.
Color Palettes Using #313D81
Five shades at lightness levels 15% through 85% while keeping hue at 231 and saturation at 45%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 231 to 276 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 231 with its complement at 51 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #313D81
Lightness variations at hue 231 and 45% saturation.
CSS Gradients with #313D81
Design Use Cases for #313D81
Balanced UI Color
At 45% saturation, #313D81 strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Primary Interface Color
At 35% lightness, #313D81 is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.
Trust & Professional Identity
#313D81 sits in the blue range (hue 231). Blue is the world's most popular color for corporate identities because it conveys trust, stability, and competence. Use it for navigation bars, link text, form focus states, and any element where user confidence matters. Financial, healthcare, and technology brands rely heavily on this hue range.
Gradient Pairing
Create a gradient from #313D81 (hue 231) to its complement at hue 51. For a subtler effect, try pairing with an analogous color at hue 261. Use CSS: background: linear-gradient(135deg, #313d81, #817531);
CSS Code for #313D81
Similar Colors
Colors visually similar to #313D81 based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #313D81 across image editing and color design tools.
About Color #313D81 (#313D81)
#313D81 is a blue color (colour) with RGB channel values of 49 red, 61 green, and 129 blue. The blue channel is dominant by a ratio of 2.6:1 over the weakest channel. In HSL terms, the hue sits at 231 degrees with 45% saturation and 35% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #313D81 is 65/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 62% cyan, 53% magenta, 0% yellow, and 49% key (black).
The WCAG contrast ratio of #313D81 against white is 9.93:1 and against black is 2.12:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.
The complementary colour #817531 creates maximum visual tension when paired with #313D81. For more harmonious color combinations, use the analogous colours #316581 and #4D3181, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #313D81
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #313D81?
- #313D81 is Color #313D81, a blue color (colour) with RGB(49, 61, 129), HSL(231, 45%, 35%), and CMYK(62%, 53%, 0%, 49%). Its perceived brightness is 65/255.
- Is #313D81 accessible for text?
- Against white, #313D81 has a contrast ratio of 9.93:1 (passes AA for normal text). Against black, it has 2.12:1 (fails AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #313D81?
- The complementary colour is #817531 (hue 51). For subtle color combinations, use analogous colours #316581 and #4D3181. The triadic palette adds #81313D and #3D8131 for vibrant variety.
- How do I use #313D81 in CSS?
- Use any format: color: #313d81; or rgb(49, 61, 129); or hsl(231, 45%, 35%). For CSS custom properties: --color-primary: 231 45% 35%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.