HSL(234, 75%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(234,75%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(234, 75%, 53%) | color: hsl(234, 75%, 53%) | |
| HEX | #2D3FE1 | color: #2D3FE1 | |
| RGB | rgb(45, 63, 225) | color: rgb(45, 63, 225) | |
| CMYK | cmyk(80%, 72%, 0%, 12%) | — | |
| HSV | hsv(234, 80%, 88%) | — | |
| HWB | hwb(234 18% 12%) | color: hwb(234 18% 12%) | |
| OKLCH | oklch(0.4777 0.2405 268.87) | color: oklch(0.4777 0.2405 268.87) | |
| Lab | lab(37.02 50.09 -82.99) | color: lab(37.02 50.09 -82.99) | |
| LCH | lch(37.02 96.93 301.11) | color: lch(37.02 96.93 301.11) |
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)
#3535BA — rgb(53, 53, 186)
Deuteranopia (Green-blind)
#3432B0 — rgb(52, 50, 176)
Tritanopia (Blue-blind)
#2E9B94 — rgb(46, 155, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(234, 75%, 53%);
text
color: hsl(234, 75%, 53%);
border
border: 2px solid hsl(234, 75%, 53%);
gradient light
background: linear-gradient(to right, hsl(234, 75%, 73%), hsl(234, 75%, 53%));
gradient dark
background: linear-gradient(to right, hsl(234, 75%, 53%), hsl(234, 75%, 33%))
hex
background-color: #2D3FE1;
tailwind
bg-[hsl(234,75%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(234, 75%, 53%, 0.4);
css variable
--color-primary: hsl(234, 75%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(234, 75%, 53%)?
HEX: #2D3FE1 | RGB: rgb(45, 63, 225) | CMYK: 80%, 72%, 0%, 12% | HSV: 234°, 80%, 88%. Copy any format from the conversion table above.
What colors go well with #2D3FE1?
The complementary color is HSL(54, 75%, 53%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(234, 75%, 53%) in CSS?
As HSL: color: hsl(234, 75%, 53%); — As HEX: color: #2D3FE1; — As RGB: color: rgb(45, 63, 225); — Tailwind CSS: bg-[hsl(234,75%,53%)] — CSS variable: --color-primary: hsl(234, 75%, 53%);