HSL(235, 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(235,92%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(235, 92%, 57%) | color: hsl(235, 92%, 57%) | |
| HEX | #2C3DF6 | color: #2C3DF6 | |
| RGB | rgb(44, 61, 246) | color: rgb(44, 61, 246) | |
| CMYK | cmyk(82%, 75%, 0%, 4%) | — | |
| HSV | hsv(235, 82%, 96%) | — | |
| HWB | hwb(235 17% 4%) | color: hwb(235 17% 4%) | |
| OKLCH | oklch(0.4965 0.2667 268.33) | color: oklch(0.4965 0.2667 268.33) | |
| Lab | lab(38.77 58 -92) | color: lab(38.77 58 -92) | |
| LCH | lch(38.77 108.76 302.23) | color: lch(38.77 108.76 302.23) |
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)
#3334C9 — rgb(51, 52, 201)
Deuteranopia (Green-blind)
#3231BF — rgb(50, 49, 191)
Tritanopia (Blue-blind)
#2DA69E — rgb(45, 166, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(235, 92%, 57%);
text
color: hsl(235, 92%, 57%);
border
border: 2px solid hsl(235, 92%, 57%);
gradient light
background: linear-gradient(to right, hsl(235, 92%, 77%), hsl(235, 92%, 57%));
gradient dark
background: linear-gradient(to right, hsl(235, 92%, 57%), hsl(235, 92%, 37%))
hex
background-color: #2C3DF6;
tailwind
bg-[hsl(235,92%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(235, 92%, 57%, 0.4);
css variable
--color-primary: hsl(235, 92%, 57%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(235, 92%, 57%)?
HEX: #2C3DF6 | RGB: rgb(44, 61, 246) | CMYK: 82%, 75%, 0%, 4% | HSV: 235°, 82%, 96%. Copy any format from the conversion table above.
What colors go well with #2C3DF6?
The complementary color is HSL(55, 92%, 57%). For a triadic harmony, use hues 235°, 355°, and 115°. For analogous combinations, try hues 205° and 265°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(235, 92%, 57%) in CSS?
As HSL: color: hsl(235, 92%, 57%); — As HEX: color: #2C3DF6; — As RGB: color: rgb(44, 61, 246); — Tailwind CSS: bg-[hsl(235,92%,57%)] — CSS variable: --color-primary: hsl(235, 92%, 57%);