HSL(231, 48%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,48%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 48%, 52%) | color: hsl(231, 48%, 52%) | |
| HEX | #4A5BBF | color: #4A5BBF | |
| RGB | rgb(74, 91, 191) | color: rgb(74, 91, 191) | |
| CMYK | cmyk(61%, 52%, 0%, 25%) | — | |
| HSV | hsv(231, 61%, 75%) | — | |
| HWB | hwb(231 29% 25%) | color: hwb(231 29% 25%) | |
| OKLCH | oklch(0.512 0.1569 272.41) | color: oklch(0.512 0.1569 272.41) | |
| Lab | lab(42.31 24.57 -54.68) | color: lab(42.31 24.57 -54.68) | |
| LCH | lch(42.31 59.95 294.2) | color: lch(42.31 59.95 294.2) |
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)
#5152A7 — rgb(81, 82, 167)
Deuteranopia (Green-blind)
#504FA1 — rgb(80, 79, 161)
Tritanopia (Blue-blind)
#4B9490 — rgb(75, 148, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 48%, 52%);
text
color: hsl(231, 48%, 52%);
border
border: 2px solid hsl(231, 48%, 52%);
gradient light
background: linear-gradient(to right, hsl(231, 48%, 72%), hsl(231, 48%, 52%));
gradient dark
background: linear-gradient(to right, hsl(231, 48%, 52%), hsl(231, 48%, 32%))
hex
background-color: #4A5BBF;
tailwind
bg-[hsl(231,48%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 48%, 52%, 0.4);
css variable
--color-primary: hsl(231, 48%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 48%, 52%)?
HEX: #4A5BBF | RGB: rgb(74, 91, 191) | CMYK: 61%, 52%, 0%, 25% | HSV: 231°, 61%, 75%. Copy any format from the conversion table above.
What colors go well with #4A5BBF?
The complementary color is HSL(51, 48%, 52%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 48%, 52%) in CSS?
As HSL: color: hsl(231, 48%, 52%); — As HEX: color: #4A5BBF; — As RGB: color: rgb(74, 91, 191); — Tailwind CSS: bg-[hsl(231,48%,52%)] — CSS variable: --color-primary: hsl(231, 48%, 52%);