HSL(227, 85%, 63%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,85%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 85%, 63%) | color: hsl(227, 85%, 63%) | |
| HEX | #5073F1 | color: #5073F1 | |
| RGB | rgb(80, 115, 241) | color: rgb(80, 115, 241) | |
| CMYK | cmyk(67%, 52%, 0%, 5%) | — | |
| HSV | hsv(227, 67%, 95%) | — | |
| HWB | hwb(227 31% 5%) | color: hwb(227 31% 5%) | |
| OKLCH | oklch(0.5981 0.1931 268.32) | color: oklch(0.5981 0.1931 268.32) | |
| Lab | lab(52.19 27.75 -67.15) | color: lab(52.19 27.75 -67.15) | |
| LCH | lch(52.19 72.66 292.45) | color: lch(52.19 72.66 292.45) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5F5FD3 — rgb(95, 95, 211)
Deuteranopia (Green-blind)
#5D5BCB — rgb(93, 91, 203)
Tritanopia (Blue-blind)
#52BAB5 — rgb(82, 186, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 85%, 63%);
text
color: hsl(227, 85%, 63%);
border
border: 2px solid hsl(227, 85%, 63%);
gradient light
background: linear-gradient(to right, hsl(227, 85%, 83%), hsl(227, 85%, 63%));
gradient dark
background: linear-gradient(to right, hsl(227, 85%, 63%), hsl(227, 85%, 43%))
hex
background-color: #5073F1;
tailwind
bg-[hsl(227,85%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 85%, 63%, 0.4);
css variable
--color-primary: hsl(227, 85%, 63%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 85%, 63%)?
HEX: #5073F1 | RGB: rgb(80, 115, 241) | CMYK: 67%, 52%, 0%, 5% | HSV: 227°, 67%, 95%. Copy any format from the conversion table above.
What colors go well with #5073F1?
The complementary color is HSL(47, 85%, 63%). 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, 85%, 63%) in CSS?
As HSL: color: hsl(227, 85%, 63%); — As HEX: color: #5073F1; — As RGB: color: rgb(80, 115, 241); — Tailwind CSS: bg-[hsl(227,85%,63%)] — CSS variable: --color-primary: hsl(227, 85%, 63%);