HSL(227, 94%, 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(227,94%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 94%, 54%) | color: hsl(227, 94%, 54%) | |
| HEX | #1B4BF8 | color: #1B4BF8 | |
| RGB | rgb(27, 75, 248) | color: rgb(27, 75, 248) | |
| CMYK | cmyk(89%, 70%, 0%, 3%) | — | |
| HSV | hsv(227, 89%, 97%) | — | |
| HWB | hwb(227 11% 3%) | color: hwb(227 11% 3%) | |
| OKLCH | oklch(0.5137 0.2591 265.01) | color: oklch(0.5137 0.2591 265.01) | |
| Lab | lab(41.28 50.03 -88.98) | color: lab(41.28 50.03 -88.98) | |
| LCH | lch(41.28 102.08 299.35) | color: lch(41.28 102.08 299.35) |
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)
#3030CE — rgb(48, 48, 206)
Deuteranopia (Green-blind)
#2D29C4 — rgb(45, 41, 196)
Tritanopia (Blue-blind)
#1DADA6 — rgb(29, 173, 166)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 94%, 54%);
text
color: hsl(227, 94%, 54%);
border
border: 2px solid hsl(227, 94%, 54%);
gradient light
background: linear-gradient(to right, hsl(227, 94%, 74%), hsl(227, 94%, 54%));
gradient dark
background: linear-gradient(to right, hsl(227, 94%, 54%), hsl(227, 94%, 34%))
hex
background-color: #1B4BF8;
tailwind
bg-[hsl(227,94%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 94%, 54%, 0.4);
css variable
--color-primary: hsl(227, 94%, 54%);
Related Colors
Use Cases for Vivid Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 94%, 54%)?
HEX: #1B4BF8 | RGB: rgb(27, 75, 248) | CMYK: 89%, 70%, 0%, 3% | HSV: 227°, 89%, 97%. Copy any format from the conversion table above.
What colors go well with #1B4BF8?
The complementary color is HSL(47, 94%, 54%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 94%, 54%) in CSS?
As HSL: color: hsl(227, 94%, 54%); — As HEX: color: #1B4BF8; — As RGB: color: rgb(27, 75, 248); — Tailwind CSS: bg-[hsl(227,94%,54%)] — CSS variable: --color-primary: hsl(227, 94%, 54%);