Palettes / Colors / #604ECE
#604ECE — Blue
#604ECE is a blue color we call Blue, closest to the named color SlateBlue (#6A5ACD). It belongs to the blue family.
Color name
Closest CSS keyword: slateblue (#6A5ACD) — not an exact match. CSS slateblue gives you #6A5ACD, a different color; use #604ECE 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.
#604ECE 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 #BECF4F; it also sits naturally between #4F7ECF and #A04FCF. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #604ECE |
|---|---|
| RGB | 96, 78, 206 |
| HSL | 248°, 57%, 56% |
| HSV | 248°, 62%, 81% |
| CMYK | 53%, 62%, 0%, 19% |
| XYZ | 18.69, 12.39, 59.80 |
| Yxy | 12.39, 0.2056, 0.1364 |
| CIE-Lab | 41.83, 41.47, -64.07 |
| Hunter Lab | 35.20, 35.60, -80.99 |
RGB & CMYK percentages
Red 38% · Green 31% · Blue 81%
Cyan 53% · Magenta 62% · Yellow 0% · Key 19%
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 #604ECE
.text { color: #604ECE; }
.background { background-color: #604ECE; }
.border { border: 3px solid #604ECE; }
.text-rgb { color: rgb(96, 78, 206); }
.text-hsl { color: hsl(248, 57%, 56%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #604ECE; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(96, 78, 206, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #604ECE; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(96, 78, 206, 0.8); }
HTML: <p style="color:#604ECE">Text here</p> · <div style="background-color:#604ECE">Div content here</div>
Shades of #604ECE
Tints of #604ECE
Tones of #604ECE
Color harmonies
Complementary — #BECF4F:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 6.04:1 AA |
|---|---|
| Against black text | 3.48:1 AA large only |
Best text color on #604ECE: #FFFFFF.
Semi-transparent (opacity) text on #604ECE
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 #604ECE: ·
How #604ECE 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 #604ECE 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 #604ECE?
#604ECE is Blue, a blue color (RGB 96, 78, 206). Its closest standard named color is SlateBlue.
What is the RGB and HSL of #604ECE?
#604ECE is RGB 96, 78, 206 — HSL 248°, 57%, 56% — CMYK 53%, 62%, 0%, 19%.
What colors go with #604ECE?
Its complement is #BECF4F; analogous partners are #4F7ECF and #A04FCF. It also appears in 6+ palettes in our collection.
Can I use #604ECE for text?
White text on #604ECE has a contrast ratio of 6.04:1 (passes WCAG AA); black text gives 3.48:1.