HSL(232, 54%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,54%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 54%, 56%) | color: hsl(232, 54%, 56%) | |
| HEX | #5262CB | color: #5262CB | |
| RGB | rgb(82, 98, 203) | color: rgb(82, 98, 203) | |
| CMYK | cmyk(60%, 52%, 0%, 20%) | — | |
| HSV | hsv(232, 60%, 80%) | — | |
| HWB | hwb(232 32% 20%) | color: hwb(232 32% 20%) | |
| OKLCH | oklch(0.5393 0.1623 273.21) | color: oklch(0.5393 0.1623 273.21) | |
| Lab | lab(45.41 25.69 -56.59) | color: lab(45.41 25.69 -56.59) | |
| LCH | lch(45.41 62.15 294.42) | color: lch(45.41 62.15 294.42) |
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)
#5959B2 — rgb(89, 89, 178)
Deuteranopia (Green-blind)
#5857AC — rgb(88, 87, 172)
Tritanopia (Blue-blind)
#539E99 — rgb(83, 158, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 54%, 56%);
text
color: hsl(232, 54%, 56%);
border
border: 2px solid hsl(232, 54%, 56%);
gradient light
background: linear-gradient(to right, hsl(232, 54%, 76%), hsl(232, 54%, 56%));
gradient dark
background: linear-gradient(to right, hsl(232, 54%, 56%), hsl(232, 54%, 36%))
hex
background-color: #5262CB;
tailwind
bg-[hsl(232,54%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 54%, 56%, 0.4);
css variable
--color-primary: hsl(232, 54%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 54%, 56%)?
HEX: #5262CB | RGB: rgb(82, 98, 203) | CMYK: 60%, 52%, 0%, 20% | HSV: 232°, 60%, 80%. Copy any format from the conversion table above.
What colors go well with #5262CB?
The complementary color is HSL(52, 54%, 56%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 54%, 56%) in CSS?
As HSL: color: hsl(232, 54%, 56%); — As HEX: color: #5262CB; — As RGB: color: rgb(82, 98, 203); — Tailwind CSS: bg-[hsl(232,54%,56%)] — CSS variable: --color-primary: hsl(232, 54%, 56%);