HSL(233, 40%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,40%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 40%, 48%) | color: hsl(233, 40%, 48%) | |
| HEX | #4955AB | color: #4955AB | |
| RGB | rgb(73, 85, 171) | color: rgb(73, 85, 171) | |
| CMYK | cmyk(57%, 50%, 0%, 33%) | — | |
| HSV | hsv(233, 57%, 67%) | — | |
| HWB | hwb(233 29% 33%) | color: hwb(233 29% 33%) | |
| OKLCH | oklch(0.4852 0.1367 274.18) | color: oklch(0.4852 0.1367 274.18) | |
| Lab | lab(39.33 21.37 -47.74) | color: lab(39.33 21.37 -47.74) | |
| LCH | lch(39.33 52.3 294.11) | color: lch(39.33 52.3 294.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)
#4E4E96 — rgb(78, 78, 150)
Deuteranopia (Green-blind)
#4E4D91 — rgb(78, 77, 145)
Tritanopia (Blue-blind)
#4A8682 — rgb(74, 134, 130)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 40%, 48%);
text
color: hsl(233, 40%, 48%);
border
border: 2px solid hsl(233, 40%, 48%);
gradient light
background: linear-gradient(to right, hsl(233, 40%, 68%), hsl(233, 40%, 48%));
gradient dark
background: linear-gradient(to right, hsl(233, 40%, 48%), hsl(233, 40%, 28%))
hex
background-color: #4955AB;
tailwind
bg-[hsl(233,40%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 40%, 48%, 0.4);
css variable
--color-primary: hsl(233, 40%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 40%, 48%)?
HEX: #4955AB | RGB: rgb(73, 85, 171) | CMYK: 57%, 50%, 0%, 33% | HSV: 233°, 57%, 67%. Copy any format from the conversion table above.
What colors go well with #4955AB?
The complementary color is HSL(53, 40%, 48%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 40%, 48%) in CSS?
As HSL: color: hsl(233, 40%, 48%); — As HEX: color: #4955AB; — As RGB: color: rgb(73, 85, 171); — Tailwind CSS: bg-[hsl(233,40%,48%)] — CSS variable: --color-primary: hsl(233, 40%, 48%);