HSL(231, 68%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,68%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 68%, 64%) | color: hsl(231, 68%, 64%) | |
| HEX | #6578E2 | color: #6578E2 | |
| RGB | rgb(101, 120, 226) | color: rgb(101, 120, 226) | |
| CMYK | cmyk(55%, 47%, 0%, 11%) | — | |
| HSV | hsv(231, 55%, 89%) | — | |
| HWB | hwb(231 40% 11%) | color: hwb(231 40% 11%) | |
| OKLCH | oklch(0.6096 0.1607 273.09) | color: oklch(0.6096 0.1607 273.09) | |
| Lab | lab(53.7 23.36 -56.28) | color: lab(53.7 23.36 -56.28) | |
| LCH | lch(53.7 60.94 292.54) | color: lch(53.7 60.94 292.54) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6D6DC8 — rgb(109, 109, 200)
Deuteranopia (Green-blind)
#6C6BC2 — rgb(108, 107, 194)
Tritanopia (Blue-blind)
#66B4B0 — rgb(102, 180, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 68%, 64%);
text
color: hsl(231, 68%, 64%);
border
border: 2px solid hsl(231, 68%, 64%);
gradient light
background: linear-gradient(to right, hsl(231, 68%, 84%), hsl(231, 68%, 64%));
gradient dark
background: linear-gradient(to right, hsl(231, 68%, 64%), hsl(231, 68%, 44%))
hex
background-color: #6578E2;
tailwind
bg-[hsl(231,68%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 68%, 64%, 0.4);
css variable
--color-primary: hsl(231, 68%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 68%, 64%)?
HEX: #6578E2 | RGB: rgb(101, 120, 226) | CMYK: 55%, 47%, 0%, 11% | HSV: 231°, 55%, 89%. Copy any format from the conversion table above.
What colors go well with #6578E2?
The complementary color is HSL(51, 68%, 64%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 68%, 64%) in CSS?
As HSL: color: hsl(231, 68%, 64%); — As HEX: color: #6578E2; — As RGB: color: rgb(101, 120, 226); — Tailwind CSS: bg-[hsl(231,68%,64%)] — CSS variable: --color-primary: hsl(231, 68%, 64%);