HSL(237, 91%, 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(237,91%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 91%, 57%) | color: hsl(237, 91%, 57%) | |
| HEX | #2E38F5 | color: #2E38F5 | |
| RGB | rgb(46, 56, 245) | color: rgb(46, 56, 245) | |
| CMYK | cmyk(81%, 77%, 0%, 4%) | — | |
| HSV | hsv(237, 81%, 96%) | — | |
| HWB | hwb(237 18% 4%) | color: hwb(237 18% 4%) | |
| OKLCH | oklch(0.4899 0.2694 269) | color: oklch(0.4899 0.2694 269) | |
| Lab | lab(37.84 60.36 -92.97) | color: lab(37.84 60.36 -92.97) | |
| LCH | lch(37.84 110.85 302.99) | color: lch(37.84 110.85 302.99) |
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)
#3232C7 — rgb(50, 50, 199)
Deuteranopia (Green-blind)
#3231BC — rgb(50, 49, 188)
Tritanopia (Blue-blind)
#2FA39B — rgb(47, 163, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 91%, 57%);
text
color: hsl(237, 91%, 57%);
border
border: 2px solid hsl(237, 91%, 57%);
gradient light
background: linear-gradient(to right, hsl(237, 91%, 77%), hsl(237, 91%, 57%));
gradient dark
background: linear-gradient(to right, hsl(237, 91%, 57%), hsl(237, 91%, 37%))
hex
background-color: #2E38F5;
tailwind
bg-[hsl(237,91%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 91%, 57%, 0.4);
css variable
--color-primary: hsl(237, 91%, 57%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 91%, 57%)?
HEX: #2E38F5 | RGB: rgb(46, 56, 245) | CMYK: 81%, 77%, 0%, 4% | HSV: 237°, 81%, 96%. Copy any format from the conversion table above.
What colors go well with #2E38F5?
The complementary color is HSL(57, 91%, 57%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 91%, 57%) in CSS?
As HSL: color: hsl(237, 91%, 57%); — As HEX: color: #2E38F5; — As RGB: color: rgb(46, 56, 245); — Tailwind CSS: bg-[hsl(237,91%,57%)] — CSS variable: --color-primary: hsl(237, 91%, 57%);