HSL(247, 62%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,62%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 62%, 37%) | color: hsl(247, 62%, 37%) | |
| HEX | #322499 | color: #322499 | |
| RGB | rgb(50, 36, 153) | color: rgb(50, 36, 153) | |
| CMYK | cmyk(67%, 76%, 0%, 40%) | — | |
| HSV | hsv(247, 76%, 60%) | — | |
| HWB | hwb(247 14% 40%) | color: hwb(247 14% 40%) | |
| OKLCH | oklch(0.367 0.1786 278.31) | color: oklch(0.367 0.1786 278.31) | |
| Lab | lab(24.45 41.95 -61.19) | color: lab(24.45 41.95 -61.19) | |
| LCH | lch(24.45 74.19 304.43) | color: lch(24.45 74.19 304.43) |
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)
#2C2C7D — rgb(44, 44, 125)
Deuteranopia (Green-blind)
#2D2E76 — rgb(45, 46, 118)
Tritanopia (Blue-blind)
#316661 — rgb(49, 102, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 62%, 37%);
text
color: hsl(247, 62%, 37%);
border
border: 2px solid hsl(247, 62%, 37%);
gradient light
background: linear-gradient(to right, hsl(247, 62%, 57%), hsl(247, 62%, 37%));
gradient dark
background: linear-gradient(to right, hsl(247, 62%, 37%), hsl(247, 62%, 17%))
hex
background-color: #322499;
tailwind
bg-[hsl(247,62%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 62%, 37%, 0.4);
css variable
--color-primary: hsl(247, 62%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 62%, 37%)?
HEX: #322499 | RGB: rgb(50, 36, 153) | CMYK: 67%, 76%, 0%, 40% | HSV: 247°, 76%, 60%. Copy any format from the conversion table above.
What colors go well with #322499?
The complementary color is HSL(67, 62%, 37%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 62%, 37%) in CSS?
As HSL: color: hsl(247, 62%, 37%); — As HEX: color: #322499; — As RGB: color: rgb(50, 36, 153); — Tailwind CSS: bg-[hsl(247,62%,37%)] — CSS variable: --color-primary: hsl(247, 62%, 37%);