HSL(228, 83%, 50%)
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,83%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 83%, 50%) | color: hsl(228, 83%, 50%) | |
| HEX | #1640E9 | color: #1640E9 | |
| RGB | rgb(22, 64, 233) | color: rgb(22, 64, 233) | |
| CMYK | cmyk(91%, 73%, 0%, 9%) | — | |
| HSV | hsv(228, 91%, 91%) | — | |
| HWB | hwb(228 8% 9%) | color: hwb(228 8% 9%) | |
| OKLCH | oklch(0.4804 0.2535 265.14) | color: oklch(0.4804 0.2535 265.14) | |
| Lab | lab(37.33 51.1 -87.05) | color: lab(37.33 51.1 -87.05) | |
| LCH | lch(37.33 100.94 300.41) | color: lch(37.33 100.94 300.41) |
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)
#2829C0 — rgb(40, 41, 192)
Deuteranopia (Green-blind)
#2623B6 — rgb(38, 35, 182)
Tritanopia (Blue-blind)
#18A099 — rgb(24, 160, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 83%, 50%);
text
color: hsl(228, 83%, 50%);
border
border: 2px solid hsl(228, 83%, 50%);
gradient light
background: linear-gradient(to right, hsl(228, 83%, 70%), hsl(228, 83%, 50%));
gradient dark
background: linear-gradient(to right, hsl(228, 83%, 50%), hsl(228, 83%, 30%))
hex
background-color: #1640E9;
tailwind
bg-[hsl(228,83%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 83%, 50%, 0.4);
css variable
--color-primary: hsl(228, 83%, 50%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 83%, 50%)?
HEX: #1640E9 | RGB: rgb(22, 64, 233) | CMYK: 91%, 73%, 0%, 9% | HSV: 228°, 91%, 91%. Copy any format from the conversion table above.
What colors go well with #1640E9?
The complementary color is HSL(48, 83%, 50%). 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, 83%, 50%) in CSS?
As HSL: color: hsl(228, 83%, 50%); — As HEX: color: #1640E9; — As RGB: color: rgb(22, 64, 233); — Tailwind CSS: bg-[hsl(228,83%,50%)] — CSS variable: --color-primary: hsl(228, 83%, 50%);