Palettes / Colors / #2E2F71
#2E2F71 — Muted Blue
#2E2F71 is a blue color we call Muted Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.
#2E2F71 is a cool blue color associated with trust, calm and professionalism. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.
Its strongest partner is its complement #706F2E; it also sits naturally between #2E5070 and #4E2E70. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #2E2F71 |
|---|---|
| RGB | 46, 47, 113 |
| HSL | 239°, 42%, 31% |
| HSV | 239°, 59%, 44% |
| CMYK | 59%, 58%, 0%, 56% |
| XYZ | 5.12, 3.81, 16.09 |
| Yxy | 3.81, 0.2048, 0.1521 |
| CIE-Lab | 23.02, 20.69, -38.46 |
| Hunter Lab | 19.51, 14.00, -37.69 |
RGB & CMYK percentages
Red 18% · Green 18% · Blue 44%
Cyan 59% · Magenta 58% · Yellow 0% · Key 56%
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 #2E2F71
.text { color: #2E2F71; }
.background { background-color: #2E2F71; }
.border { border: 3px solid #2E2F71; }
.text-rgb { color: rgb(46, 47, 113); }
.text-hsl { color: hsl(239, 42%, 31%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2E2F71; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(46, 47, 113, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2E2F71; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(46, 47, 113, 0.8); }
HTML: <p style="color:#2E2F71">Text here</p> · <div style="background-color:#2E2F71">Div content here</div>
Shades of #2E2F71
Tints of #2E2F71
Tones of #2E2F71
Color harmonies
Complementary — #706F2E:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 11.92:1 AAA |
|---|---|
| Against black text | 1.76:1 Fails |
Best text color on #2E2F71: #FFFFFF.
How #2E2F71 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 #2E2F71 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 #2E2F71?
#2E2F71 is Muted Blue, a blue color (RGB 46, 47, 113). Its closest standard named color is MidnightBlue.
What is the RGB and HSL of #2E2F71?
#2E2F71 is RGB 46, 47, 113 — HSL 239°, 42%, 31% — CMYK 59%, 58%, 0%, 56%.
What colors go with #2E2F71?
Its complement is #706F2E; analogous partners are #2E5070 and #4E2E70. It also appears in 6+ palettes in our collection.
Can I use #2E2F71 for text?
White text on #2E2F71 has a contrast ratio of 11.92:1 (passes WCAG AA); black text gives 1.76:1.