HSL(231, 97%, 59%)
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%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 97%, 59%) | color: hsl(231, 97%, 59%) | |
| HEX | #314FFC | color: #314FFC | |
| RGB | rgb(49, 79, 252) | color: rgb(49, 79, 252) | |
| CMYK | cmyk(81%, 69%, 0%, 1%) | — | |
| HSV | hsv(231, 81%, 99%) | — | |
| HWB | hwb(231 19% 1%) | color: hwb(231 19% 1%) | |
| OKLCH | oklch(0.5303 0.2554 267.76) | color: oklch(0.5303 0.2554 267.76) | |
| Lab | lab(43.17 50.22 -88.08) | color: lab(43.17 50.22 -88.08) | |
| LCH | lch(43.17 101.39 299.69) | color: lch(43.17 101.39 299.69) |
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)
#3E3ED2 — rgb(62, 62, 210)
Deuteranopia (Green-blind)
#3C3AC8 — rgb(60, 58, 200)
Tritanopia (Blue-blind)
#33B1AA — rgb(51, 177, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 97%, 59%);
text
color: hsl(231, 97%, 59%);
border
border: 2px solid hsl(231, 97%, 59%);
gradient light
background: linear-gradient(to right, hsl(231, 97%, 79%), hsl(231, 97%, 59%));
gradient dark
background: linear-gradient(to right, hsl(231, 97%, 59%), hsl(231, 97%, 39%))
hex
background-color: #314FFC;
tailwind
bg-[hsl(231,97%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 97%, 59%, 0.4);
css variable
--color-primary: hsl(231, 97%, 59%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 97%, 59%)?
HEX: #314FFC | RGB: rgb(49, 79, 252) | CMYK: 81%, 69%, 0%, 1% | HSV: 231°, 81%, 99%. Copy any format from the conversion table above.
What colors go well with #314FFC?
The complementary color is HSL(51, 97%, 59%). 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%, 59%) in CSS?
As HSL: color: hsl(231, 97%, 59%); — As HEX: color: #314FFC; — As RGB: color: rgb(49, 79, 252); — Tailwind CSS: bg-[hsl(231,97%,59%)] — CSS variable: --color-primary: hsl(231, 97%, 59%);