HSL(231, 85%, 55%)
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%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 85%, 55%) | color: hsl(231, 85%, 55%) | |
| HEX | #2B48EE | color: #2B48EE | |
| RGB | rgb(43, 72, 238) | color: rgb(43, 72, 238) | |
| CMYK | cmyk(82%, 70%, 0%, 7%) | — | |
| HSV | hsv(231, 82%, 93%) | — | |
| HWB | hwb(231 17% 7%) | color: hwb(231 17% 7%) | |
| OKLCH | oklch(0.5036 0.2474 267.48) | color: oklch(0.5036 0.2474 267.48) | |
| Lab | lab(40.11 49.15 -85.27) | color: lab(40.11 49.15 -85.27) | |
| LCH | lch(40.11 98.42 299.96) | color: lch(40.11 98.42 299.96) |
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)
#3838C6 — rgb(56, 56, 198)
Deuteranopia (Green-blind)
#3634BC — rgb(54, 52, 188)
Tritanopia (Blue-blind)
#2CA69F — rgb(44, 166, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 85%, 55%);
text
color: hsl(231, 85%, 55%);
border
border: 2px solid hsl(231, 85%, 55%);
gradient light
background: linear-gradient(to right, hsl(231, 85%, 75%), hsl(231, 85%, 55%));
gradient dark
background: linear-gradient(to right, hsl(231, 85%, 55%), hsl(231, 85%, 35%))
hex
background-color: #2B48EE;
tailwind
bg-[hsl(231,85%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 85%, 55%, 0.4);
css variable
--color-primary: hsl(231, 85%, 55%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 85%, 55%)?
HEX: #2B48EE | RGB: rgb(43, 72, 238) | CMYK: 82%, 70%, 0%, 7% | HSV: 231°, 82%, 93%. Copy any format from the conversion table above.
What colors go well with #2B48EE?
The complementary color is HSL(51, 85%, 55%). 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%, 55%) in CSS?
As HSL: color: hsl(231, 85%, 55%); — As HEX: color: #2B48EE; — As RGB: color: rgb(43, 72, 238); — Tailwind CSS: bg-[hsl(231,85%,55%)] — CSS variable: --color-primary: hsl(231, 85%, 55%);