HSL(218, 31%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(218,31%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(218, 31%, 41%) | color: hsl(218, 31%, 41%) | |
| HEX | #486089 | color: #486089 | |
| RGB | rgb(72, 96, 137) | color: rgb(72, 96, 137) | |
| CMYK | cmyk(47%, 30%, 0%, 46%) | — | |
| HSV | hsv(218, 47%, 54%) | — | |
| HWB | hwb(218 29% 46%) | color: hwb(218 29% 46%) | |
| OKLCH | oklch(0.4878 0.0724 260.78) | color: oklch(0.4878 0.0724 260.78) | |
| Lab | lab(40.49 2.87 -25.55) | color: lab(40.49 2.87 -25.55) | |
| LCH | lch(40.49 25.71 276.41) | color: lch(40.49 25.71 276.41) |
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)
#52537F — rgb(82, 83, 127)
Deuteranopia (Green-blind)
#514F7D — rgb(81, 79, 125)
Tritanopia (Blue-blind)
#497776 — rgb(73, 119, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(218, 31%, 41%);
text
color: hsl(218, 31%, 41%);
border
border: 2px solid hsl(218, 31%, 41%);
gradient light
background: linear-gradient(to right, hsl(218, 31%, 61%), hsl(218, 31%, 41%));
gradient dark
background: linear-gradient(to right, hsl(218, 31%, 41%), hsl(218, 31%, 21%))
hex
background-color: #486089;
tailwind
bg-[hsl(218,31%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(218, 31%, 41%, 0.4);
css variable
--color-primary: hsl(218, 31%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(218, 31%, 41%)?
HEX: #486089 | RGB: rgb(72, 96, 137) | CMYK: 47%, 30%, 0%, 46% | HSV: 218°, 47%, 54%. Copy any format from the conversion table above.
What colors go well with #486089?
The complementary color is HSL(38, 31%, 41%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(218, 31%, 41%) in CSS?
As HSL: color: hsl(218, 31%, 41%); — As HEX: color: #486089; — As RGB: color: rgb(72, 96, 137); — Tailwind CSS: bg-[hsl(218,31%,41%)] — CSS variable: --color-primary: hsl(218, 31%, 41%);