HSL(227, 15%, 65%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(227,15%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 15%, 65%) | color: hsl(227, 15%, 65%) | |
| HEX | #989EB3 | color: #989EB3 | |
| RGB | rgb(152, 158, 179) | color: rgb(152, 158, 179) | |
| CMYK | cmyk(15%, 12%, 0%, 30%) | — | |
| HSV | hsv(227, 15%, 70%) | — | |
| HWB | hwb(227 60% 30%) | color: hwb(227 60% 30%) | |
| OKLCH | oklch(0.7013 0.0314 272.92) | color: oklch(0.7013 0.0314 272.92) | |
| Lab | lab(65.27 2.24 -11.59) | color: lab(65.27 2.24 -11.59) | |
| LCH | lch(65.27 11.8 280.94) | color: lch(65.27 11.8 280.94) |
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)
#9B9BAE — rgb(155, 155, 174)
Deuteranopia (Green-blind)
#9A9AAD — rgb(154, 154, 173)
Tritanopia (Blue-blind)
#98AAA9 — rgb(152, 170, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 15%, 65%);
text
color: hsl(227, 15%, 65%);
border
border: 2px solid hsl(227, 15%, 65%);
gradient light
background: linear-gradient(to right, hsl(227, 15%, 85%), hsl(227, 15%, 65%));
gradient dark
background: linear-gradient(to right, hsl(227, 15%, 65%), hsl(227, 15%, 45%))
hex
background-color: #989EB3;
tailwind
bg-[hsl(227,15%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 15%, 65%, 0.4);
css variable
--color-primary: hsl(227, 15%, 65%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 15%, 65%)?
HEX: #989EB3 | RGB: rgb(152, 158, 179) | CMYK: 15%, 12%, 0%, 30% | HSV: 227°, 15%, 70%. Copy any format from the conversion table above.
What colors go well with #989EB3?
The complementary color is HSL(47, 15%, 65%). 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, 15%, 65%) in CSS?
As HSL: color: hsl(227, 15%, 65%); — As HEX: color: #989EB3; — As RGB: color: rgb(152, 158, 179); — Tailwind CSS: bg-[hsl(227,15%,65%)] — CSS variable: --color-primary: hsl(227, 15%, 65%);