HSL(245, 25%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,25%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 25%, 30%) | color: hsl(245, 25%, 30%) | |
| HEX | #3D3960 | color: #3D3960 | |
| RGB | rgb(61, 57, 96) | color: rgb(61, 57, 96) | |
| CMYK | cmyk(36%, 41%, 0%, 62%) | — | |
| HSV | hsv(246, 41%, 38%) | — | |
| HWB | hwb(246 22% 62%) | color: hwb(246 22% 62%) | |
| OKLCH | oklch(0.3672 0.0662 287.37) | color: oklch(0.3672 0.0662 287.37) | |
| Lab | lab(26.05 12.13 -22.57) | color: lab(26.05 12.13 -22.57) | |
| LCH | lch(26.05 25.62 298.26) | color: lch(26.05 25.62 298.26) |
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)
#3B3B57 — rgb(59, 59, 87)
Deuteranopia (Green-blind)
#3C3C54 — rgb(60, 60, 84)
Tritanopia (Blue-blind)
#3D4F4D — rgb(61, 79, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 25%, 30%);
text
color: hsl(245, 25%, 30%);
border
border: 2px solid hsl(245, 25%, 30%);
gradient light
background: linear-gradient(to right, hsl(245, 25%, 50%), hsl(245, 25%, 30%));
gradient dark
background: linear-gradient(to right, hsl(245, 25%, 30%), hsl(245, 25%, 10%))
hex
background-color: #3D3960;
tailwind
bg-[hsl(245,25%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 25%, 30%, 0.4);
css variable
--color-primary: hsl(245, 25%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 25%, 30%)?
HEX: #3D3960 | RGB: rgb(61, 57, 96) | CMYK: 36%, 41%, 0%, 62% | HSV: 246°, 41%, 38%. Copy any format from the conversion table above.
What colors go well with #3D3960?
The complementary color is HSL(65, 25%, 30%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 25%, 30%) in CSS?
As HSL: color: hsl(245, 25%, 30%); — As HEX: color: #3D3960; — As RGB: color: rgb(61, 57, 96); — Tailwind CSS: bg-[hsl(245,25%,30%)] — CSS variable: --color-primary: hsl(245, 25%, 30%);