HSL(221, 54%, 39%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(221,54%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 54%, 39%) | color: hsl(221, 54%, 39%) | |
| HEX | #2E5099 | color: #2E5099 | |
| RGB | rgb(46, 80, 153) | color: rgb(46, 80, 153) | |
| CMYK | cmyk(70%, 48%, 0%, 40%) | — | |
| HSV | hsv(221, 70%, 60%) | — | |
| HWB | hwb(221 18% 40%) | color: hwb(221 18% 40%) | |
| OKLCH | oklch(0.4462 0.1258 263.4) | color: oklch(0.4462 0.1258 263.4) | |
| Lab | lab(35.24 13.16 -43.63) | color: lab(35.24 13.16 -43.63) | |
| LCH | lch(35.24 45.57 286.78) | color: lch(35.24 45.57 286.78) |
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)
#3D3D87 — rgb(61, 61, 135)
Deuteranopia (Green-blind)
#3B3883 — rgb(59, 56, 131)
Tritanopia (Blue-blind)
#307976 — rgb(48, 121, 118)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 54%, 39%);
text
color: hsl(221, 54%, 39%);
border
border: 2px solid hsl(221, 54%, 39%);
gradient light
background: linear-gradient(to right, hsl(221, 54%, 59%), hsl(221, 54%, 39%));
gradient dark
background: linear-gradient(to right, hsl(221, 54%, 39%), hsl(221, 54%, 19%))
hex
background-color: #2E5099;
tailwind
bg-[hsl(221,54%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 54%, 39%, 0.4);
css variable
--color-primary: hsl(221, 54%, 39%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(221, 54%, 39%)?
HEX: #2E5099 | RGB: rgb(46, 80, 153) | CMYK: 70%, 48%, 0%, 40% | HSV: 221°, 70%, 60%. Copy any format from the conversion table above.
What colors go well with #2E5099?
The complementary color is HSL(41, 54%, 39%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 54%, 39%) in CSS?
As HSL: color: hsl(221, 54%, 39%); — As HEX: color: #2E5099; — As RGB: color: rgb(46, 80, 153); — Tailwind CSS: bg-[hsl(221,54%,39%)] — CSS variable: --color-primary: hsl(221, 54%, 39%);