HSL(228, 80%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(228,80%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 80%, 55%) | color: hsl(228, 80%, 55%) | |
| HEX | #3055E8 | color: #3055E8 | |
| RGB | rgb(48, 85, 232) | color: rgb(48, 85, 232) | |
| CMYK | cmyk(79%, 63%, 0%, 9%) | — | |
| HSV | hsv(228, 79%, 91%) | — | |
| HWB | hwb(228 19% 9%) | color: hwb(228 19% 9%) | |
| OKLCH | oklch(0.5212 0.2251 266.87) | color: oklch(0.5212 0.2251 266.87) | |
| Lab | lab(42.69 39.54 -77.64) | color: lab(42.69 39.54 -77.64) | |
| LCH | lch(42.69 87.13 296.99) | color: lch(42.69 87.13 296.99) |
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)
#4040C4 — rgb(64, 64, 196)
Deuteranopia (Green-blind)
#3E3BBC — rgb(62, 59, 188)
Tritanopia (Blue-blind)
#32A8A2 — rgb(50, 168, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 80%, 55%);
text
color: hsl(228, 80%, 55%);
border
border: 2px solid hsl(228, 80%, 55%);
gradient light
background: linear-gradient(to right, hsl(228, 80%, 75%), hsl(228, 80%, 55%));
gradient dark
background: linear-gradient(to right, hsl(228, 80%, 55%), hsl(228, 80%, 35%))
hex
background-color: #3055E8;
tailwind
bg-[hsl(228,80%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 80%, 55%, 0.4);
css variable
--color-primary: hsl(228, 80%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 80%, 55%)?
HEX: #3055E8 | RGB: rgb(48, 85, 232) | CMYK: 79%, 63%, 0%, 9% | HSV: 228°, 79%, 91%. Copy any format from the conversion table above.
What colors go well with #3055E8?
The complementary color is HSL(48, 80%, 55%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 80%, 55%) in CSS?
As HSL: color: hsl(228, 80%, 55%); — As HEX: color: #3055E8; — As RGB: color: rgb(48, 85, 232); — Tailwind CSS: bg-[hsl(228,80%,55%)] — CSS variable: --color-primary: hsl(228, 80%, 55%);