HSL(231, 85%, 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,85%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 85%, 52%) | color: hsl(231, 85%, 52%) | |
| HEX | #1D3CED | color: #1D3CED | |
| RGB | rgb(29, 60, 237) | color: rgb(29, 60, 237) | |
| CMYK | cmyk(88%, 75%, 0%, 7%) | — | |
| HSV | hsv(231, 88%, 93%) | — | |
| HWB | hwb(231 11% 7%) | color: hwb(231 11% 7%) | |
| OKLCH | oklch(0.4807 0.2606 266.19) | color: oklch(0.4807 0.2606 266.19) | |
| Lab | lab(37.12 54.94 -89.66) | color: lab(37.12 54.94 -89.66) | |
| LCH | lch(37.12 105.15 301.5) | color: lch(37.12 105.15 301.5) |
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)
#2A2BC2 — rgb(42, 43, 194)
Deuteranopia (Green-blind)
#2926B8 — rgb(41, 38, 184)
Tritanopia (Blue-blind)
#1FA099 — rgb(31, 160, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 85%, 52%);
text
color: hsl(231, 85%, 52%);
border
border: 2px solid hsl(231, 85%, 52%);
gradient light
background: linear-gradient(to right, hsl(231, 85%, 72%), hsl(231, 85%, 52%));
gradient dark
background: linear-gradient(to right, hsl(231, 85%, 52%), hsl(231, 85%, 32%))
hex
background-color: #1D3CED;
tailwind
bg-[hsl(231,85%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 85%, 52%, 0.4);
css variable
--color-primary: hsl(231, 85%, 52%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 85%, 52%)?
HEX: #1D3CED | RGB: rgb(29, 60, 237) | CMYK: 88%, 75%, 0%, 7% | HSV: 231°, 88%, 93%. Copy any format from the conversion table above.
What colors go well with #1D3CED?
The complementary color is HSL(51, 85%, 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, 85%, 52%) in CSS?
As HSL: color: hsl(231, 85%, 52%); — As HEX: color: #1D3CED; — As RGB: color: rgb(29, 60, 237); — Tailwind CSS: bg-[hsl(231,85%,52%)] — CSS variable: --color-primary: hsl(231, 85%, 52%);