HSL(249, 55%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,55%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 55%, 30%) | color: hsl(249, 55%, 30%) | |
| HEX | #2F2277 | color: #2F2277 | |
| RGB | rgb(47, 34, 119) | color: rgb(47, 34, 119) | |
| CMYK | cmyk(61%, 71%, 0%, 53%) | — | |
| HSV | hsv(249, 71%, 47%) | — | |
| HWB | hwb(249 14% 53%) | color: hwb(249 14% 53%) | |
| OKLCH | oklch(0.327 0.1375 282.66) | color: oklch(0.327 0.1375 282.66) | |
| Lab | lab(20.36 31.53 -46.62) | color: lab(20.36 31.53 -46.62) | |
| LCH | lch(20.36 56.28 304.07) | color: lch(20.36 56.28 304.07) |
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)
#292962 — rgb(41, 41, 98)
Deuteranopia (Green-blind)
#2A2B5E — rgb(42, 43, 94)
Tritanopia (Blue-blind)
#2E524F — rgb(46, 82, 79)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 55%, 30%);
text
color: hsl(249, 55%, 30%);
border
border: 2px solid hsl(249, 55%, 30%);
gradient light
background: linear-gradient(to right, hsl(249, 55%, 50%), hsl(249, 55%, 30%));
gradient dark
background: linear-gradient(to right, hsl(249, 55%, 30%), hsl(249, 55%, 10%))
hex
background-color: #2F2277;
tailwind
bg-[hsl(249,55%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 55%, 30%, 0.4);
css variable
--color-primary: hsl(249, 55%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 55%, 30%)?
HEX: #2F2277 | RGB: rgb(47, 34, 119) | CMYK: 61%, 71%, 0%, 53% | HSV: 249°, 71%, 47%. Copy any format from the conversion table above.
What colors go well with #2F2277?
The complementary color is HSL(69, 55%, 30%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 55%, 30%) in CSS?
As HSL: color: hsl(249, 55%, 30%); — As HEX: color: #2F2277; — As RGB: color: rgb(47, 34, 119); — Tailwind CSS: bg-[hsl(249,55%,30%)] — CSS variable: --color-primary: hsl(249, 55%, 30%);