HSL(247, 79%, 51%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(247,79%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 79%, 51%) | color: hsl(247, 79%, 51%) | |
| HEX | #361FE5 | color: #361FE5 | |
| RGB | rgb(54, 31, 229) | color: rgb(54, 31, 229) | |
| CMYK | cmyk(76%, 86%, 0%, 10%) | — | |
| HSV | hsv(247, 86%, 90%) | — | |
| HWB | hwb(247 13% 10%) | color: hwb(247 13% 10%) | |
| OKLCH | oklch(0.4504 0.2672 272.62) | color: oklch(0.4504 0.2672 272.62) | |
| Lab | lab(32.74 66.83 -92.35) | color: lab(32.74 66.83 -92.35) | |
| LCH | lch(32.74 113.99 305.89) | color: lch(32.74 113.99 305.89) |
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)
#2C2CB5 — rgb(44, 44, 181)
Deuteranopia (Green-blind)
#2D2FAA — rgb(45, 47, 170)
Tritanopia (Blue-blind)
#358F87 — rgb(53, 143, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 79%, 51%);
text
color: hsl(247, 79%, 51%);
border
border: 2px solid hsl(247, 79%, 51%);
gradient light
background: linear-gradient(to right, hsl(247, 79%, 71%), hsl(247, 79%, 51%));
gradient dark
background: linear-gradient(to right, hsl(247, 79%, 51%), hsl(247, 79%, 31%))
hex
background-color: #361FE5;
tailwind
bg-[hsl(247,79%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 79%, 51%, 0.4);
css variable
--color-primary: hsl(247, 79%, 51%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 79%, 51%)?
HEX: #361FE5 | RGB: rgb(54, 31, 229) | CMYK: 76%, 86%, 0%, 10% | HSV: 247°, 86%, 90%. Copy any format from the conversion table above.
What colors go well with #361FE5?
The complementary color is HSL(67, 79%, 51%). 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, 79%, 51%) in CSS?
As HSL: color: hsl(247, 79%, 51%); — As HEX: color: #361FE5; — As RGB: color: rgb(54, 31, 229); — Tailwind CSS: bg-[hsl(247,79%,51%)] — CSS variable: --color-primary: hsl(247, 79%, 51%);