HSL(204, 73%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(204,73%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(204, 73%, 52%) | color: hsl(204, 73%, 52%) | |
| HEX | #2B96DE | color: #2B96DE | |
| RGB | rgb(43, 150, 222) | color: rgb(43, 150, 222) | |
| CMYK | cmyk(81%, 32%, 0%, 13%) | — | |
| HSV | hsv(204, 81%, 87%) | — | |
| HWB | hwb(204 17% 13%) | color: hwb(204 17% 13%) | |
| OKLCH | oklch(0.648 0.1424 243.68) | color: oklch(0.648 0.1424 243.68) | |
| Lab | lab(59.52 -4.82 -44.91) | color: lab(59.52 -4.82 -44.91) | |
| LCH | lch(59.52 45.17 263.87) | color: lch(59.52 45.17 263.87) |
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)
#595ACD — rgb(89, 90, 205)
Deuteranopia (Green-blind)
#534BC8 — rgb(83, 75, 200)
Tritanopia (Blue-blind)
#30BFBC — rgb(48, 191, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(204, 73%, 52%);
text
color: hsl(204, 73%, 52%);
border
border: 2px solid hsl(204, 73%, 52%);
gradient light
background: linear-gradient(to right, hsl(204, 73%, 72%), hsl(204, 73%, 52%));
gradient dark
background: linear-gradient(to right, hsl(204, 73%, 52%), hsl(204, 73%, 32%))
hex
background-color: #2B96DE;
tailwind
bg-[hsl(204,73%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(204, 73%, 52%, 0.4);
css variable
--color-primary: hsl(204, 73%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(204, 73%, 52%)?
HEX: #2B96DE | RGB: rgb(43, 150, 222) | CMYK: 81%, 32%, 0%, 13% | HSV: 204°, 81%, 87%. Copy any format from the conversion table above.
What colors go well with #2B96DE?
The complementary color is HSL(24, 73%, 52%). For a triadic harmony, use hues 204°, 324°, and 84°. For analogous combinations, try hues 174° and 234°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(204, 73%, 52%) in CSS?
As HSL: color: hsl(204, 73%, 52%); — As HEX: color: #2B96DE; — As RGB: color: rgb(43, 150, 222); — Tailwind CSS: bg-[hsl(204,73%,52%)] — CSS variable: --color-primary: hsl(204, 73%, 52%);