HSL(226, 60%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,60%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 60%, 48%) | color: hsl(226, 60%, 48%) | |
| HEX | #3153C4 | color: #3153C4 | |
| RGB | rgb(49, 83, 196) | color: rgb(49, 83, 196) | |
| CMYK | cmyk(75%, 58%, 0%, 23%) | — | |
| HSV | hsv(226, 75%, 77%) | — | |
| HWB | hwb(226 19% 23%) | color: hwb(226 19% 23%) | |
| OKLCH | oklch(0.4869 0.1808 266.71) | color: oklch(0.4869 0.1808 266.71) | |
| Lab | lab(39.28 27.77 -62.55) | color: lab(39.28 27.77 -62.55) | |
| LCH | lch(39.28 68.44 293.94) | color: lch(39.28 68.44 293.94) |
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)
#4040A9 — rgb(64, 64, 169)
Deuteranopia (Green-blind)
#3E3BA2 — rgb(62, 59, 162)
Tritanopia (Blue-blind)
#33938E — rgb(51, 147, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 60%, 48%);
text
color: hsl(226, 60%, 48%);
border
border: 2px solid hsl(226, 60%, 48%);
gradient light
background: linear-gradient(to right, hsl(226, 60%, 68%), hsl(226, 60%, 48%));
gradient dark
background: linear-gradient(to right, hsl(226, 60%, 48%), hsl(226, 60%, 28%))
hex
background-color: #3153C4;
tailwind
bg-[hsl(226,60%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 60%, 48%, 0.4);
css variable
--color-primary: hsl(226, 60%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 60%, 48%)?
HEX: #3153C4 | RGB: rgb(49, 83, 196) | CMYK: 75%, 58%, 0%, 23% | HSV: 226°, 75%, 77%. Copy any format from the conversion table above.
What colors go well with #3153C4?
The complementary color is HSL(46, 60%, 48%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 60%, 48%) in CSS?
As HSL: color: hsl(226, 60%, 48%); — As HEX: color: #3153C4; — As RGB: color: rgb(49, 83, 196); — Tailwind CSS: bg-[hsl(226,60%,48%)] — CSS variable: --color-primary: hsl(226, 60%, 48%);