HSL(239, 75%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(239,75%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(239, 75%, 53%) | color: hsl(239, 75%, 53%) | |
| HEX | #2D30E1 | color: #2D30E1 | |
| RGB | rgb(45, 48, 225) | color: rgb(45, 48, 225) | |
| CMYK | cmyk(80%, 79%, 0%, 12%) | — | |
| HSV | hsv(239, 80%, 88%) | — | |
| HWB | hwb(239 18% 12%) | color: hwb(239 18% 12%) | |
| OKLCH | oklch(0.4578 0.2538 269.92) | color: oklch(0.4578 0.2538 269.92) | |
| Lab | lab(34.2 58.09 -87.65) | color: lab(34.2 58.09 -87.65) | |
| LCH | lch(34.2 105.15 303.53) | color: lch(34.2 105.15 303.53) |
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)
#2E2EB6 — rgb(46, 46, 182)
Deuteranopia (Green-blind)
#2E2EAC — rgb(46, 46, 172)
Tritanopia (Blue-blind)
#2D948D — rgb(45, 148, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(239, 75%, 53%);
text
color: hsl(239, 75%, 53%);
border
border: 2px solid hsl(239, 75%, 53%);
gradient light
background: linear-gradient(to right, hsl(239, 75%, 73%), hsl(239, 75%, 53%));
gradient dark
background: linear-gradient(to right, hsl(239, 75%, 53%), hsl(239, 75%, 33%))
hex
background-color: #2D30E1;
tailwind
bg-[hsl(239,75%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(239, 75%, 53%, 0.4);
css variable
--color-primary: hsl(239, 75%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(239, 75%, 53%)?
HEX: #2D30E1 | RGB: rgb(45, 48, 225) | CMYK: 80%, 79%, 0%, 12% | HSV: 239°, 80%, 88%. Copy any format from the conversion table above.
What colors go well with #2D30E1?
The complementary color is HSL(59, 75%, 53%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(239, 75%, 53%) in CSS?
As HSL: color: hsl(239, 75%, 53%); — As HEX: color: #2D30E1; — As RGB: color: rgb(45, 48, 225); — Tailwind CSS: bg-[hsl(239,75%,53%)] — CSS variable: --color-primary: hsl(239, 75%, 53%);