Palettes / Colors / #263151
#263151 — Deep Muted Blue
#263151 is a blue color we call Deep Muted Blue, closest to the named color DarkSlateGray (#2F4F4F). It belongs to the blue family.
Color name
Closest CSS keyword: darkslategray (#2F4F4F) — not an exact match. CSS darkslategray gives you #2F4F4F, a different color; use #263151 when you need this exact shade.
Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.
#263151 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 #504526; it also sits naturally between #264550 and #302650. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #263151 |
|---|---|
| RGB | 38, 49, 81 |
| HSL | 225°, 36%, 23% |
| HSV | 225°, 53%, 32% |
| CMYK | 53%, 40%, 0%, 68% |
| XYZ | 3.38, 3.20, 8.22 |
| Yxy | 3.20, 0.2284, 0.2163 |
| CIE-Lab | 20.84, 5.68, -21.03 |
| Hunter Lab | 17.90, 3.43, -16.30 |
RGB & CMYK percentages
Red 15% · Green 19% · Blue 32%
Cyan 53% · Magenta 40% · Yellow 0% · Key 68%
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 #263151
.text { color: #263151; }
.background { background-color: #263151; }
.border { border: 3px solid #263151; }
.text-rgb { color: rgb(38, 49, 81); }
.text-hsl { color: hsl(225, 36%, 23%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #263151; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(38, 49, 81, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #263151; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(38, 49, 81, 0.8); }
HTML: <p style="color:#263151">Text here</p> · <div style="background-color:#263151">Div content here</div>
Shades of #263151
Tints of #263151
Tones of #263151
Color harmonies
Complementary — #504526:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 12.80:1 AAA |
|---|---|
| Against black text | 1.64:1 Fails |
Best text color on #263151: #FFFFFF.
Semi-transparent (opacity) text on #263151
Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:
Smaller body text shows the effect best.
Blended color: · Contrast against #263151: ·
How #263151 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 #263151 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 #263151?
#263151 is Deep Muted Blue, a blue color (RGB 38, 49, 81). Its closest standard named color is DarkSlateGray.
What is the RGB and HSL of #263151?
#263151 is RGB 38, 49, 81 — HSL 225°, 36%, 23% — CMYK 53%, 40%, 0%, 68%.
What colors go with #263151?
Its complement is #504526; analogous partners are #264550 and #302650. It also appears in 6+ palettes in our collection.
Can I use #263151 for text?
White text on #263151 has a contrast ratio of 12.80:1 (passes WCAG AA); black text gives 1.64:1.