HSL(227, 48%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,48%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 48%, 61%) | color: hsl(227, 48%, 61%) | |
| HEX | #6C80CB | color: #6C80CB | |
| RGB | rgb(108, 128, 203) | color: rgb(108, 128, 203) | |
| CMYK | cmyk(47%, 37%, 0%, 20%) | — | |
| HSV | hsv(227, 47%, 80%) | — | |
| HWB | hwb(227 42% 20%) | color: hwb(227 42% 20%) | |
| OKLCH | oklch(0.6168 0.1161 271.34) | color: oklch(0.6168 0.1161 271.34) | |
| Lab | lab(55.01 12.92 -41.19) | color: lab(55.01 12.92 -41.19) | |
| LCH | lch(55.01 43.17 287.41) | color: lch(55.01 43.17 287.41) |
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)
#7575B9 — rgb(117, 117, 185)
Deuteranopia (Green-blind)
#7472B5 — rgb(116, 114, 181)
Tritanopia (Blue-blind)
#6DABA7 — rgb(109, 171, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 48%, 61%);
text
color: hsl(227, 48%, 61%);
border
border: 2px solid hsl(227, 48%, 61%);
gradient light
background: linear-gradient(to right, hsl(227, 48%, 81%), hsl(227, 48%, 61%));
gradient dark
background: linear-gradient(to right, hsl(227, 48%, 61%), hsl(227, 48%, 41%))
hex
background-color: #6C80CB;
tailwind
bg-[hsl(227,48%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 48%, 61%, 0.4);
css variable
--color-primary: hsl(227, 48%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 48%, 61%)?
HEX: #6C80CB | RGB: rgb(108, 128, 203) | CMYK: 47%, 37%, 0%, 20% | HSV: 227°, 47%, 80%. Copy any format from the conversion table above.
What colors go well with #6C80CB?
The complementary color is HSL(47, 48%, 61%). 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, 48%, 61%) in CSS?
As HSL: color: hsl(227, 48%, 61%); — As HEX: color: #6C80CB; — As RGB: color: rgb(108, 128, 203); — Tailwind CSS: bg-[hsl(227,48%,61%)] — CSS variable: --color-primary: hsl(227, 48%, 61%);