HSL(237, 25%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,25%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 25%, 54%) | color: hsl(237, 25%, 54%) | |
| HEX | #6C6FA7 | color: #6C6FA7 | |
| RGB | rgb(108, 111, 167) | color: rgb(108, 111, 167) | |
| CMYK | cmyk(35%, 34%, 0%, 35%) | — | |
| HSV | hsv(237, 35%, 65%) | — | |
| HWB | hwb(237 42% 35%) | color: hwb(237 42% 35%) | |
| OKLCH | oklch(0.5625 0.0863 280.88) | color: oklch(0.5625 0.0863 280.88) | |
| Lab | lab(48.69 12.69 -30.38) | color: lab(48.69 12.69 -30.38) | |
| LCH | lch(48.69 32.92 292.67) | color: lch(48.69 32.92 292.67) |
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)
#6D6D99 — rgb(109, 109, 153)
Deuteranopia (Green-blind)
#6D6D96 — rgb(109, 109, 150)
Tritanopia (Blue-blind)
#6C8F8C — rgb(108, 143, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 25%, 54%);
text
color: hsl(237, 25%, 54%);
border
border: 2px solid hsl(237, 25%, 54%);
gradient light
background: linear-gradient(to right, hsl(237, 25%, 74%), hsl(237, 25%, 54%));
gradient dark
background: linear-gradient(to right, hsl(237, 25%, 54%), hsl(237, 25%, 34%))
hex
background-color: #6C6FA7;
tailwind
bg-[hsl(237,25%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 25%, 54%, 0.4);
css variable
--color-primary: hsl(237, 25%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 25%, 54%)?
HEX: #6C6FA7 | RGB: rgb(108, 111, 167) | CMYK: 35%, 34%, 0%, 35% | HSV: 237°, 35%, 65%. Copy any format from the conversion table above.
What colors go well with #6C6FA7?
The complementary color is HSL(57, 25%, 54%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 25%, 54%) in CSS?
As HSL: color: hsl(237, 25%, 54%); — As HEX: color: #6C6FA7; — As RGB: color: rgb(108, 111, 167); — Tailwind CSS: bg-[hsl(237,25%,54%)] — CSS variable: --color-primary: hsl(237, 25%, 54%);