HSL(227, 74%, 78%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,74%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 74%, 78%) | color: hsl(227, 74%, 78%) | |
| HEX | #9DAFF0 | color: #9DAFF0 | |
| RGB | rgb(157, 175, 240) | color: rgb(157, 175, 240) | |
| CMYK | cmyk(35%, 27%, 0%, 6%) | — | |
| HSV | hsv(227, 35%, 94%) | — | |
| HWB | hwb(227 61% 6%) | color: hwb(227 61% 6%) | |
| OKLCH | oklch(0.7644 0.0957 272.06) | color: oklch(0.7644 0.0957 272.06) | |
| Lab | lab(72.31 8.94 -34.44) | color: lab(72.31 8.94 -34.44) | |
| LCH | lch(72.31 35.58 284.55) | color: lch(72.31 35.58 284.55) |
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)
#A5A5E0 — rgb(165, 165, 224)
Deuteranopia (Green-blind)
#A4A2DD — rgb(164, 162, 221)
Tritanopia (Blue-blind)
#9ED4D1 — rgb(158, 212, 209)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 74%, 78%);
text
color: hsl(227, 74%, 78%);
border
border: 2px solid hsl(227, 74%, 78%);
gradient light
background: linear-gradient(to right, hsl(227, 74%, 98%), hsl(227, 74%, 78%));
gradient dark
background: linear-gradient(to right, hsl(227, 74%, 78%), hsl(227, 74%, 58%))
hex
background-color: #9DAFF0;
tailwind
bg-[hsl(227,74%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 74%, 78%, 0.4);
css variable
--color-primary: hsl(227, 74%, 78%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 74%, 78%)?
HEX: #9DAFF0 | RGB: rgb(157, 175, 240) | CMYK: 35%, 27%, 0%, 6% | HSV: 227°, 35%, 94%. Copy any format from the conversion table above.
What colors go well with #9DAFF0?
The complementary color is HSL(47, 74%, 78%). 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, 74%, 78%) in CSS?
As HSL: color: hsl(227, 74%, 78%); — As HEX: color: #9DAFF0; — As RGB: color: rgb(157, 175, 240); — Tailwind CSS: bg-[hsl(227,74%,78%)] — CSS variable: --color-primary: hsl(227, 74%, 78%);