HSL(232, 40%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 40%, 48%) | color: hsl(232, 40%, 48%) | |
| HEX | #4956AB | color: #4956AB | |
| RGB | rgb(73, 86, 171) | color: rgb(73, 86, 171) | |
| CMYK | cmyk(57%, 50%, 0%, 33%) | — | |
| HSV | hsv(232, 57%, 67%) | — | |
| HWB | hwb(232 29% 33%) | color: hwb(232 29% 33%) | |
| OKLCH | oklch(0.4872 0.1354 273.76) | color: oklch(0.4872 0.1354 273.76) | |
| Lab | lab(39.6 20.73 -47.3) | color: lab(39.6 20.73 -47.3) | |
| LCH | lch(39.6 51.64 293.67) | color: lch(39.6 51.64 293.67) |
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)
#4F4F96 — rgb(79, 79, 150)
Deuteranopia (Green-blind)
#4E4D92 — rgb(78, 77, 146)
Tritanopia (Blue-blind)
#4A8683 — rgb(74, 134, 131)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 40%, 48%);
text
color: hsl(232, 40%, 48%);
border
border: 2px solid hsl(232, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(232, 40%, 68%), hsl(232, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(232, 40%, 48%), hsl(232, 40%, 28%))
hex
background-color: #4956AB;
tailwind
bg-[hsl(232,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 40%, 48%, 0.4);
css variable
--color-primary: hsl(232, 40%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 40%, 48%)?
HEX: #4956AB | RGB: rgb(73, 86, 171) | CMYK: 57%, 50%, 0%, 33% | HSV: 232°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #4956AB?
The complementary color is HSL(52, 40%, 48%). 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, 40%, 48%) in CSS?
As HSL: color: hsl(232, 40%, 48%); — As HEX: color: #4956AB; — As RGB: color: rgb(73, 86, 171); — Tailwind CSS: bg-[hsl(232,40%,48%)] — CSS variable: --color-primary: hsl(232, 40%, 48%);