HSL(227, 50%, 71%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,50%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 50%, 71%) | color: hsl(227, 50%, 71%) | |
| HEX | #90A0DA | color: #90A0DA | |
| RGB | rgb(144, 160, 218) | color: rgb(144, 160, 218) | |
| CMYK | cmyk(34%, 27%, 0%, 15%) | — | |
| HSV | hsv(227, 34%, 85%) | — | |
| HWB | hwb(227 56% 15%) | color: hwb(227 56% 15%) | |
| OKLCH | oklch(0.7151 0.0868 272.17) | color: oklch(0.7151 0.0868 272.17) | |
| Lab | lab(66.62 8.05 -31.27) | color: lab(66.62 8.05 -31.27) | |
| LCH | lch(66.62 32.29 284.44) | color: lch(66.62 32.29 284.44) |
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)
#9797CC — rgb(151, 151, 204)
Deuteranopia (Green-blind)
#9695C9 — rgb(150, 149, 201)
Tritanopia (Blue-blind)
#91C1BE — rgb(145, 193, 190)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 50%, 71%);
text
color: hsl(227, 50%, 71%);
border
border: 2px solid hsl(227, 50%, 71%);
gradient light
background: linear-gradient(to right, hsl(227, 50%, 91%), hsl(227, 50%, 71%));
gradient dark
background: linear-gradient(to right, hsl(227, 50%, 71%), hsl(227, 50%, 51%))
hex
background-color: #90A0DA;
tailwind
bg-[hsl(227,50%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 50%, 71%, 0.4);
css variable
--color-primary: hsl(227, 50%, 71%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 50%, 71%)?
HEX: #90A0DA | RGB: rgb(144, 160, 218) | CMYK: 34%, 27%, 0%, 15% | HSV: 227°, 34%, 85%. Copy any format from the conversion table above.
What colors go well with #90A0DA?
The complementary color is HSL(47, 50%, 71%). 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, 50%, 71%) in CSS?
As HSL: color: hsl(227, 50%, 71%); — As HEX: color: #90A0DA; — As RGB: color: rgb(144, 160, 218); — Tailwind CSS: bg-[hsl(227,50%,71%)] — CSS variable: --color-primary: hsl(227, 50%, 71%);