HSL(236, 91%, 54%)
Vivid Blue — Blue color
Adjust Color
Color Information
Color Name
Vivid Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,91%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 91%, 54%) | color: hsl(236, 91%, 54%) | |
| HEX | #1F2DF4 | color: #1F2DF4 | |
| RGB | rgb(31, 45, 244) | color: rgb(31, 45, 244) | |
| CMYK | cmyk(87%, 82%, 0%, 4%) | — | |
| HSV | hsv(236, 87%, 96%) | — | |
| HWB | hwb(236 12% 4%) | color: hwb(236 12% 4%) | |
| OKLCH | oklch(0.4709 0.2799 266.92) | color: oklch(0.4709 0.2799 266.92) | |
| Lab | lab(35.4 64.68 -96.48) | color: lab(35.4 64.68 -96.48) | |
| LCH | lch(35.4 116.15 303.84) | color: lch(35.4 116.15 303.84) |
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)
#2525C4 — rgb(37, 37, 196)
Deuteranopia (Green-blind)
#2423B8 — rgb(36, 35, 184)
Tritanopia (Blue-blind)
#209E95 — rgb(32, 158, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 91%, 54%);
text
color: hsl(236, 91%, 54%);
border
border: 2px solid hsl(236, 91%, 54%);
gradient light
background: linear-gradient(to right, hsl(236, 91%, 74%), hsl(236, 91%, 54%));
gradient dark
background: linear-gradient(to right, hsl(236, 91%, 54%), hsl(236, 91%, 34%))
hex
background-color: #1F2DF4;
tailwind
bg-[hsl(236,91%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 91%, 54%, 0.4);
css variable
--color-primary: hsl(236, 91%, 54%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 91%, 54%)?
HEX: #1F2DF4 | RGB: rgb(31, 45, 244) | CMYK: 87%, 82%, 0%, 4% | HSV: 236°, 87%, 96%. Copy any format from the conversion table above.
What colors go well with #1F2DF4?
The complementary color is HSL(56, 91%, 54%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 91%, 54%) in CSS?
As HSL: color: hsl(236, 91%, 54%); — As HEX: color: #1F2DF4; — As RGB: color: rgb(31, 45, 244); — Tailwind CSS: bg-[hsl(236,91%,54%)] — CSS variable: --color-primary: hsl(236, 91%, 54%);