HSL(226, 90%, 52%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,90%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 90%, 52%) | color: hsl(226, 90%, 52%) | |
| HEX | #164AF3 | color: #164AF3 | |
| RGB | rgb(22, 74, 243) | color: rgb(22, 74, 243) | |
| CMYK | cmyk(91%, 70%, 0%, 5%) | — | |
| HSV | hsv(226, 91%, 95%) | — | |
| HWB | hwb(226 9% 5%) | color: hwb(226 9% 5%) | |
| OKLCH | oklch(0.5061 0.2551 264.54) | color: oklch(0.5061 0.2551 264.54) | |
| Lab | lab(40.47 48.7 -87.52) | color: lab(40.47 48.7 -87.52) | |
| LCH | lch(40.47 100.16 299.09) | color: lch(40.47 100.16 299.09) |
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)
#2D2DCA — rgb(45, 45, 202)
Deuteranopia (Green-blind)
#2A26C0 — rgb(42, 38, 192)
Tritanopia (Blue-blind)
#19AAA3 — rgb(25, 170, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 90%, 52%);
text
color: hsl(226, 90%, 52%);
border
border: 2px solid hsl(226, 90%, 52%);
gradient light
background: linear-gradient(to right, hsl(226, 90%, 72%), hsl(226, 90%, 52%));
gradient dark
background: linear-gradient(to right, hsl(226, 90%, 52%), hsl(226, 90%, 32%))
hex
background-color: #164AF3;
tailwind
bg-[hsl(226,90%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 90%, 52%, 0.4);
css variable
--color-primary: hsl(226, 90%, 52%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 90%, 52%)?
HEX: #164AF3 | RGB: rgb(22, 74, 243) | CMYK: 91%, 70%, 0%, 5% | HSV: 226°, 91%, 95%. Copy any format from the conversion table above.
What colors go well with #164AF3?
The complementary color is HSL(46, 90%, 52%). 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, 90%, 52%) in CSS?
As HSL: color: hsl(226, 90%, 52%); — As HEX: color: #164AF3; — As RGB: color: rgb(22, 74, 243); — Tailwind CSS: bg-[hsl(226,90%,52%)] — CSS variable: --color-primary: hsl(226, 90%, 52%);