HSL(227, 92%, 57%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,92%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 92%, 57%) | color: hsl(227, 92%, 57%) | |
| HEX | #2C58F6 | color: #2C58F6 | |
| RGB | rgb(44, 88, 246) | color: rgb(44, 88, 246) | |
| CMYK | cmyk(82%, 64%, 0%, 4%) | — | |
| HSV | hsv(227, 82%, 96%) | — | |
| HWB | hwb(227 17% 4%) | color: hwb(227 17% 4%) | |
| OKLCH | oklch(0.5377 0.2399 265.94) | color: oklch(0.5377 0.2399 265.94) | |
| Lab | lab(44.47 42.38 -82.59) | color: lab(44.47 42.38 -82.59) | |
| LCH | lch(44.47 92.83 297.16) | color: lch(44.47 92.83 297.16) |
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)
#3F3FD0 — rgb(63, 63, 208)
Deuteranopia (Green-blind)
#3D39C7 — rgb(61, 57, 199)
Tritanopia (Blue-blind)
#2EB2AB — rgb(46, 178, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 92%, 57%);
text
color: hsl(227, 92%, 57%);
border
border: 2px solid hsl(227, 92%, 57%);
gradient light
background: linear-gradient(to right, hsl(227, 92%, 77%), hsl(227, 92%, 57%));
gradient dark
background: linear-gradient(to right, hsl(227, 92%, 57%), hsl(227, 92%, 37%))
hex
background-color: #2C58F6;
tailwind
bg-[hsl(227,92%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 92%, 57%, 0.4);
css variable
--color-primary: hsl(227, 92%, 57%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 92%, 57%)?
HEX: #2C58F6 | RGB: rgb(44, 88, 246) | CMYK: 82%, 64%, 0%, 4% | HSV: 227°, 82%, 96%. Copy any format from the conversion table above.
What colors go well with #2C58F6?
The complementary color is HSL(47, 92%, 57%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 92%, 57%) in CSS?
As HSL: color: hsl(227, 92%, 57%); — As HEX: color: #2C58F6; — As RGB: color: rgb(44, 88, 246); — Tailwind CSS: bg-[hsl(227,92%,57%)] — CSS variable: --color-primary: hsl(227, 92%, 57%);