HSL(228, 96%, 55%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(228,96%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 96%, 55%) | color: hsl(228, 96%, 55%) | |
| HEX | #1E4AFA | color: #1E4AFA | |
| RGB | rgb(30, 74, 250) | color: rgb(30, 74, 250) | |
| CMYK | cmyk(88%, 70%, 0%, 2%) | — | |
| HSV | hsv(228, 88%, 98%) | — | |
| HWB | hwb(228 12% 2%) | color: hwb(228 12% 2%) | |
| OKLCH | oklch(0.5148 0.2619 265.43) | color: oklch(0.5148 0.2619 265.43) | |
| Lab | lab(41.33 51.43 -90.01) | color: lab(41.33 51.43 -90.01) | |
| LCH | lch(41.33 103.67 299.74) | color: lch(41.33 103.67 299.74) |
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)
#3131CF — rgb(49, 49, 207)
Deuteranopia (Green-blind)
#2F2BC5 — rgb(47, 43, 197)
Tritanopia (Blue-blind)
#20AEA6 — rgb(32, 174, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 96%, 55%);
text
color: hsl(228, 96%, 55%);
border
border: 2px solid hsl(228, 96%, 55%);
gradient light
background: linear-gradient(to right, hsl(228, 96%, 75%), hsl(228, 96%, 55%));
gradient dark
background: linear-gradient(to right, hsl(228, 96%, 55%), hsl(228, 96%, 35%))
hex
background-color: #1E4AFA;
tailwind
bg-[hsl(228,96%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 96%, 55%, 0.4);
css variable
--color-primary: hsl(228, 96%, 55%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 96%, 55%)?
HEX: #1E4AFA | RGB: rgb(30, 74, 250) | CMYK: 88%, 70%, 0%, 2% | HSV: 228°, 88%, 98%. Copy any format from the conversion table above.
What colors go well with #1E4AFA?
The complementary color is HSL(48, 96%, 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, 96%, 55%) in CSS?
As HSL: color: hsl(228, 96%, 55%); — As HEX: color: #1E4AFA; — As RGB: color: rgb(30, 74, 250); — Tailwind CSS: bg-[hsl(228,96%,55%)] — CSS variable: --color-primary: hsl(228, 96%, 55%);