HSL(247, 54%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,54%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 54%, 37%) | color: hsl(247, 54%, 37%) | |
| HEX | #372B91 | color: #372B91 | |
| RGB | rgb(55, 43, 145) | color: rgb(55, 43, 145) | |
| CMYK | cmyk(62%, 70%, 0%, 43%) | — | |
| HSV | hsv(247, 70%, 57%) | — | |
| HWB | hwb(247 17% 43%) | color: hwb(247 17% 43%) | |
| OKLCH | oklch(0.3733 0.1598 280.65) | color: oklch(0.3733 0.1598 280.65) | |
| Lab | lab(25.51 35.98 -54.49) | color: lab(25.51 35.98 -54.49) | |
| LCH | lch(25.51 65.3 303.44) | color: lch(25.51 65.3 303.44) |
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)
#323278 — rgb(50, 50, 120)
Deuteranopia (Green-blind)
#333372 — rgb(51, 51, 114)
Tritanopia (Blue-blind)
#366561 — rgb(54, 101, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 54%, 37%);
text
color: hsl(247, 54%, 37%);
border
border: 2px solid hsl(247, 54%, 37%);
gradient light
background: linear-gradient(to right, hsl(247, 54%, 57%), hsl(247, 54%, 37%));
gradient dark
background: linear-gradient(to right, hsl(247, 54%, 37%), hsl(247, 54%, 17%))
hex
background-color: #372B91;
tailwind
bg-[hsl(247,54%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 54%, 37%, 0.4);
css variable
--color-primary: hsl(247, 54%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 54%, 37%)?
HEX: #372B91 | RGB: rgb(55, 43, 145) | CMYK: 62%, 70%, 0%, 43% | HSV: 247°, 70%, 57%. Copy any format from the conversion table above.
What colors go well with #372B91?
The complementary color is HSL(67, 54%, 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, 54%, 37%) in CSS?
As HSL: color: hsl(247, 54%, 37%); — As HEX: color: #372B91; — As RGB: color: rgb(55, 43, 145); — Tailwind CSS: bg-[hsl(247,54%,37%)] — CSS variable: --color-primary: hsl(247, 54%, 37%);