HSL(232, 18%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(232,18%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 18%, 45%) | color: hsl(232, 18%, 45%) | |
| HEX | #5E6487 | color: #5E6487 | |
| RGB | rgb(94, 100, 135) | color: rgb(94, 100, 135) | |
| CMYK | cmyk(30%, 26%, 0%, 47%) | — | |
| HSV | hsv(231, 30%, 53%) | — | |
| HWB | hwb(231 37% 47%) | color: hwb(231 37% 47%) | |
| OKLCH | oklch(0.512 0.056 276.7) | color: oklch(0.512 0.056 276.7) | |
| Lab | lab(43.13 6.31 -20.13) | color: lab(43.13 6.31 -20.13) | |
| LCH | lch(43.13 21.1 287.4) | color: lch(43.13 21.1 287.4) |
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)
#61617F — rgb(97, 97, 127)
Deuteranopia (Green-blind)
#60607D — rgb(96, 96, 125)
Tritanopia (Blue-blind)
#5E7876 — rgb(94, 120, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 18%, 45%);
text
color: hsl(232, 18%, 45%);
border
border: 2px solid hsl(232, 18%, 45%);
gradient light
background: linear-gradient(to right, hsl(232, 18%, 65%), hsl(232, 18%, 45%));
gradient dark
background: linear-gradient(to right, hsl(232, 18%, 45%), hsl(232, 18%, 25%))
hex
background-color: #5E6487;
tailwind
bg-[hsl(232,18%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 18%, 45%, 0.4);
css variable
--color-primary: hsl(232, 18%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 18%, 45%)?
HEX: #5E6487 | RGB: rgb(94, 100, 135) | CMYK: 30%, 26%, 0%, 47% | HSV: 231°, 30%, 53%. Copy any format from the conversion table above.
What colors go well with #5E6487?
The complementary color is HSL(52, 18%, 45%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 18%, 45%) in CSS?
As HSL: color: hsl(232, 18%, 45%); — As HEX: color: #5E6487; — As RGB: color: rgb(94, 100, 135); — Tailwind CSS: bg-[hsl(232,18%,45%)] — CSS variable: --color-primary: hsl(232, 18%, 45%);