HSL(237, 30%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,30%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 30%, 47%) | color: hsl(237, 30%, 47%) | |
| HEX | #54579C | color: #54579C | |
| RGB | rgb(84, 87, 156) | color: rgb(84, 87, 156) | |
| CMYK | cmyk(46%, 44%, 0%, 39%) | — | |
| HSV | hsv(238, 46%, 61%) | — | |
| HWB | hwb(238 33% 39%) | color: hwb(238 33% 39%) | |
| OKLCH | oklch(0.4874 0.1093 279.64) | color: oklch(0.4874 0.1093 279.64) | |
| Lab | lab(39.75 17.73 -38.09) | color: lab(39.75 17.73 -38.09) | |
| LCH | lch(39.75 42.01 294.96) | color: lch(39.75 42.01 294.96) |
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)
#55558B — rgb(85, 85, 139)
Deuteranopia (Green-blind)
#555587 — rgb(85, 85, 135)
Tritanopia (Blue-blind)
#547E7B — rgb(84, 126, 123)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 30%, 47%);
text
color: hsl(237, 30%, 47%);
border
border: 2px solid hsl(237, 30%, 47%);
gradient light
background: linear-gradient(to right, hsl(237, 30%, 67%), hsl(237, 30%, 47%));
gradient dark
background: linear-gradient(to right, hsl(237, 30%, 47%), hsl(237, 30%, 27%))
hex
background-color: #54579C;
tailwind
bg-[hsl(237,30%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 30%, 47%, 0.4);
css variable
--color-primary: hsl(237, 30%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 30%, 47%)?
HEX: #54579C | RGB: rgb(84, 87, 156) | CMYK: 46%, 44%, 0%, 39% | HSV: 238°, 46%, 61%. Copy any format from the conversion table above.
What colors go well with #54579C?
The complementary color is HSL(57, 30%, 47%). 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, 30%, 47%) in CSS?
As HSL: color: hsl(237, 30%, 47%); — As HEX: color: #54579C; — As RGB: color: rgb(84, 87, 156); — Tailwind CSS: bg-[hsl(237,30%,47%)] — CSS variable: --color-primary: hsl(237, 30%, 47%);