HSL(248, 35%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(248,35%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(248, 35%, 55%) | color: hsl(248, 35%, 55%) | |
| HEX | #6F64B4 | color: #6F64B4 | |
| RGB | rgb(111, 100, 180) | color: rgb(111, 100, 180) | |
| CMYK | cmyk(38%, 44%, 0%, 29%) | — | |
| HSV | hsv(248, 44%, 71%) | — | |
| HWB | hwb(248 40% 29%) | color: hwb(248 40% 29%) | |
| OKLCH | oklch(0.5499 0.1218 288.02) | color: oklch(0.5499 0.1218 288.02) | |
| Lab | lab(46.7 23.89 -41.1) | color: lab(46.7 23.89 -41.1) | |
| LCH | lch(46.7 47.54 300.17) | color: lch(46.7 47.54 300.17) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#6A6AA1 — rgb(106, 106, 161)
Deuteranopia (Green-blind)
#6B6C9C — rgb(107, 108, 156)
Tritanopia (Blue-blind)
#6E918E — rgb(110, 145, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(248, 35%, 55%);
text
color: hsl(248, 35%, 55%);
border
border: 2px solid hsl(248, 35%, 55%);
gradient light
background: linear-gradient(to right, hsl(248, 35%, 75%), hsl(248, 35%, 55%));
gradient dark
background: linear-gradient(to right, hsl(248, 35%, 55%), hsl(248, 35%, 35%))
hex
background-color: #6F64B4;
tailwind
bg-[hsl(248,35%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(248, 35%, 55%, 0.4);
css variable
--color-primary: hsl(248, 35%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(248, 35%, 55%)?
HEX: #6F64B4 | RGB: rgb(111, 100, 180) | CMYK: 38%, 44%, 0%, 29% | HSV: 248°, 44%, 71%. Copy any format from the conversion table above.
What colors go well with #6F64B4?
The complementary color is HSL(68, 35%, 55%). For a triadic harmony, use hues 248°, 8°, and 128°. For analogous combinations, try hues 218° and 278°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(248, 35%, 55%) in CSS?
As HSL: color: hsl(248, 35%, 55%); — As HEX: color: #6F64B4; — As RGB: color: rgb(111, 100, 180); — Tailwind CSS: bg-[hsl(248,35%,55%)] — CSS variable: --color-primary: hsl(248, 35%, 55%);