HSL(231, 97%, 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(231,97%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 97%, 52%) | color: hsl(231, 97%, 52%) | |
| HEX | #0E31FB | color: #0E31FB | |
| RGB | rgb(14, 49, 251) | color: rgb(14, 49, 251) | |
| CMYK | cmyk(94%, 80%, 0%, 2%) | — | |
| HSV | hsv(231, 94%, 98%) | — | |
| HWB | hwb(231 6% 2%) | color: hwb(231 6% 2%) | |
| OKLCH | oklch(0.4797 0.2871 264.97) | color: oklch(0.4797 0.2871 264.97) | |
| Lab | lab(36.47 64.59 -98.65) | color: lab(36.47 64.59 -98.65) | |
| LCH | lch(36.47 117.91 303.21) | color: lch(36.47 117.91 303.21) |
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)
#1D1DCA — rgb(29, 29, 202)
Deuteranopia (Green-blind)
#1B19BE — rgb(27, 25, 190)
Tritanopia (Blue-blind)
#10A49B — rgb(16, 164, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 97%, 52%);
text
color: hsl(231, 97%, 52%);
border
border: 2px solid hsl(231, 97%, 52%);
gradient light
background: linear-gradient(to right, hsl(231, 97%, 72%), hsl(231, 97%, 52%));
gradient dark
background: linear-gradient(to right, hsl(231, 97%, 52%), hsl(231, 97%, 32%))
hex
background-color: #0E31FB;
tailwind
bg-[hsl(231,97%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 97%, 52%, 0.4);
css variable
--color-primary: hsl(231, 97%, 52%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 97%, 52%)?
HEX: #0E31FB | RGB: rgb(14, 49, 251) | CMYK: 94%, 80%, 0%, 2% | HSV: 231°, 94%, 98%. Copy any format from the conversion table above.
What colors go well with #0E31FB?
The complementary color is HSL(51, 97%, 52%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 97%, 52%) in CSS?
As HSL: color: hsl(231, 97%, 52%); — As HEX: color: #0E31FB; — As RGB: color: rgb(14, 49, 251); — Tailwind CSS: bg-[hsl(231,97%,52%)] — CSS variable: --color-primary: hsl(231, 97%, 52%);