HSL(213, 75%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,75%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 75%, 53%) | color: hsl(213, 75%, 53%) | |
| HEX | #2D7EE1 | color: #2D7EE1 | |
| RGB | rgb(45, 126, 225) | color: rgb(45, 126, 225) | |
| CMYK | cmyk(80%, 44%, 0%, 12%) | — | |
| HSV | hsv(213, 80%, 88%) | — | |
| HWB | hwb(213 18% 12%) | color: hwb(213 18% 12%) | |
| OKLCH | oklch(0.5964 0.1693 255.75) | color: oklch(0.5964 0.1693 255.75) | |
| Lab | lab(52.85 10.81 -57.2) | color: lab(52.85 10.81 -57.2) | |
| LCH | lch(52.85 58.21 280.7) | color: lch(52.85 58.21 280.7) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5051C9 — rgb(80, 81, 201)
Deuteranopia (Green-blind)
#4B45C3 — rgb(75, 69, 195)
Tritanopia (Blue-blind)
#31B6B2 — rgb(49, 182, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 75%, 53%);
text
color: hsl(213, 75%, 53%);
border
border: 2px solid hsl(213, 75%, 53%);
gradient light
background: linear-gradient(to right, hsl(213, 75%, 73%), hsl(213, 75%, 53%));
gradient dark
background: linear-gradient(to right, hsl(213, 75%, 53%), hsl(213, 75%, 33%))
hex
background-color: #2D7EE1;
tailwind
bg-[hsl(213,75%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 75%, 53%, 0.4);
css variable
--color-primary: hsl(213, 75%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 75%, 53%)?
HEX: #2D7EE1 | RGB: rgb(45, 126, 225) | CMYK: 80%, 44%, 0%, 12% | HSV: 213°, 80%, 88%. Copy any format from the conversion table above.
What colors go well with #2D7EE1?
The complementary color is HSL(33, 75%, 53%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 75%, 53%) in CSS?
As HSL: color: hsl(213, 75%, 53%); — As HEX: color: #2D7EE1; — As RGB: color: rgb(45, 126, 225); — Tailwind CSS: bg-[hsl(213,75%,53%)] — CSS variable: --color-primary: hsl(213, 75%, 53%);