HSL(227, 71%, 70%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,71%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 71%, 70%) | color: hsl(227, 71%, 70%) | |
| HEX | #7C94E9 | color: #7C94E9 | |
| RGB | rgb(124, 148, 233) | color: rgb(124, 148, 233) | |
| CMYK | cmyk(47%, 36%, 0%, 9%) | — | |
| HSV | hsv(227, 47%, 91%) | — | |
| HWB | hwb(227 48% 9%) | color: hwb(227 48% 9%) | |
| OKLCH | oklch(0.6843 0.1286 270.76) | color: oklch(0.6843 0.1286 270.76) | |
| Lab | lab(62.8 13.91 -45.62) | color: lab(62.8 13.91 -45.62) | |
| LCH | lch(62.8 47.69 286.96) | color: lch(62.8 47.69 286.96) |
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)
#8687D4 — rgb(134, 135, 212)
Deuteranopia (Green-blind)
#8583D0 — rgb(133, 131, 208)
Tritanopia (Blue-blind)
#7DC4C1 — rgb(125, 196, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 71%, 70%);
text
color: hsl(227, 71%, 70%);
border
border: 2px solid hsl(227, 71%, 70%);
gradient light
background: linear-gradient(to right, hsl(227, 71%, 90%), hsl(227, 71%, 70%));
gradient dark
background: linear-gradient(to right, hsl(227, 71%, 70%), hsl(227, 71%, 50%))
hex
background-color: #7C94E9;
tailwind
bg-[hsl(227,71%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 71%, 70%, 0.4);
css variable
--color-primary: hsl(227, 71%, 70%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 71%, 70%)?
HEX: #7C94E9 | RGB: rgb(124, 148, 233) | CMYK: 47%, 36%, 0%, 9% | HSV: 227°, 47%, 91%. Copy any format from the conversion table above.
What colors go well with #7C94E9?
The complementary color is HSL(47, 71%, 70%). 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, 71%, 70%) in CSS?
As HSL: color: hsl(227, 71%, 70%); — As HEX: color: #7C94E9; — As RGB: color: rgb(124, 148, 233); — Tailwind CSS: bg-[hsl(227,71%,70%)] — CSS variable: --color-primary: hsl(227, 71%, 70%);