HSL(233, 35%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,35%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 35%, 48%) | color: hsl(233, 35%, 48%) | |
| HEX | #505AA5 | color: #505AA5 | |
| RGB | rgb(80, 90, 165) | color: rgb(80, 90, 165) | |
| CMYK | cmyk(52%, 45%, 0%, 35%) | — | |
| HSV | hsv(233, 52%, 65%) | — | |
| HWB | hwb(233 31% 35%) | color: hwb(233 31% 35%) | |
| OKLCH | oklch(0.4963 0.1193 275.45) | color: oklch(0.4963 0.1193 275.45) | |
| Lab | lab(40.79 17.72 -41.82) | color: lab(40.79 17.72 -41.82) | |
| LCH | lch(40.79 45.42 292.96) | color: lch(40.79 45.42 292.96) |
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)
#545493 — rgb(84, 84, 147)
Deuteranopia (Green-blind)
#54538F — rgb(84, 83, 143)
Tritanopia (Blue-blind)
#518581 — rgb(81, 133, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 35%, 48%);
text
color: hsl(233, 35%, 48%);
border
border: 2px solid hsl(233, 35%, 48%);
gradient light
background: linear-gradient(to right, hsl(233, 35%, 68%), hsl(233, 35%, 48%));
gradient dark
background: linear-gradient(to right, hsl(233, 35%, 48%), hsl(233, 35%, 28%))
hex
background-color: #505AA5;
tailwind
bg-[hsl(233,35%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 35%, 48%, 0.4);
css variable
--color-primary: hsl(233, 35%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 35%, 48%)?
HEX: #505AA5 | RGB: rgb(80, 90, 165) | CMYK: 52%, 45%, 0%, 35% | HSV: 233°, 52%, 65%. Copy any format from the conversion table above.
What colors go well with #505AA5?
The complementary color is HSL(53, 35%, 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, 35%, 48%) in CSS?
As HSL: color: hsl(233, 35%, 48%); — As HEX: color: #505AA5; — As RGB: color: rgb(80, 90, 165); — Tailwind CSS: bg-[hsl(233,35%,48%)] — CSS variable: --color-primary: hsl(233, 35%, 48%);