HSL(231, 84%, 51%)
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,84%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 84%, 51%) | color: hsl(231, 84%, 51%) | |
| HEX | #1939EB | color: #1939EB | |
| RGB | rgb(25, 57, 235) | color: rgb(25, 57, 235) | |
| CMYK | cmyk(89%, 76%, 0%, 8%) | — | |
| HSV | hsv(231, 89%, 92%) | — | |
| HWB | hwb(231 10% 8%) | color: hwb(231 10% 8%) | |
| OKLCH | oklch(0.4734 0.2617 265.85) | color: oklch(0.4734 0.2617 265.85) | |
| Lab | lab(36.23 55.77 -90.01) | color: lab(36.23 55.77 -90.01) | |
| LCH | lch(36.23 105.89 301.78) | color: lch(36.23 105.89 301.78) |
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)
#2727C0 — rgb(39, 39, 192)
Deuteranopia (Green-blind)
#2523B6 — rgb(37, 35, 182)
Tritanopia (Blue-blind)
#1B9E96 — rgb(27, 158, 150)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 84%, 51%);
text
color: hsl(231, 84%, 51%);
border
border: 2px solid hsl(231, 84%, 51%);
gradient light
background: linear-gradient(to right, hsl(231, 84%, 71%), hsl(231, 84%, 51%));
gradient dark
background: linear-gradient(to right, hsl(231, 84%, 51%), hsl(231, 84%, 31%))
hex
background-color: #1939EB;
tailwind
bg-[hsl(231,84%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 84%, 51%, 0.4);
css variable
--color-primary: hsl(231, 84%, 51%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 84%, 51%)?
HEX: #1939EB | RGB: rgb(25, 57, 235) | CMYK: 89%, 76%, 0%, 8% | HSV: 231°, 89%, 92%. Copy any format from the conversion table above.
What colors go well with #1939EB?
The complementary color is HSL(51, 84%, 51%). 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, 84%, 51%) in CSS?
As HSL: color: hsl(231, 84%, 51%); — As HEX: color: #1939EB; — As RGB: color: rgb(25, 57, 235); — Tailwind CSS: bg-[hsl(231,84%,51%)] — CSS variable: --color-primary: hsl(231, 84%, 51%);