HSL(227, 63%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(227,63%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 63%, 61%) | color: hsl(227, 63%, 61%) | |
| HEX | #5D78DA | color: #5D78DA | |
| RGB | rgb(93, 120, 218) | color: rgb(93, 120, 218) | |
| CMYK | cmyk(57%, 45%, 0%, 15%) | — | |
| HSV | hsv(227, 57%, 85%) | — | |
| HWB | hwb(227 37% 15%) | color: hwb(227 37% 15%) | |
| OKLCH | oklch(0.5997 0.1519 269.77) | color: oklch(0.5997 0.1519 269.77) | |
| Lab | lab(52.75 19.16 -53.31) | color: lab(52.75 19.16 -53.31) | |
| LCH | lch(52.75 56.65 289.77) | color: lch(52.75 56.65 289.77) |
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)
#6969C2 — rgb(105, 105, 194)
Deuteranopia (Green-blind)
#6765BD — rgb(103, 101, 189)
Tritanopia (Blue-blind)
#5EB0AB — rgb(94, 176, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 63%, 61%);
text
color: hsl(227, 63%, 61%);
border
border: 2px solid hsl(227, 63%, 61%);
gradient light
background: linear-gradient(to right, hsl(227, 63%, 81%), hsl(227, 63%, 61%));
gradient dark
background: linear-gradient(to right, hsl(227, 63%, 61%), hsl(227, 63%, 41%))
hex
background-color: #5D78DA;
tailwind
bg-[hsl(227,63%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 63%, 61%, 0.4);
css variable
--color-primary: hsl(227, 63%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 63%, 61%)?
HEX: #5D78DA | RGB: rgb(93, 120, 218) | CMYK: 57%, 45%, 0%, 15% | HSV: 227°, 57%, 85%. Copy any format from the conversion table above.
What colors go well with #5D78DA?
The complementary color is HSL(47, 63%, 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, 63%, 61%) in CSS?
As HSL: color: hsl(227, 63%, 61%); — As HEX: color: #5D78DA; — As RGB: color: rgb(93, 120, 218); — Tailwind CSS: bg-[hsl(227,63%,61%)] — CSS variable: --color-primary: hsl(227, 63%, 61%);