HSL(231, 77%, 61%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,77%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 77%, 61%) | color: hsl(231, 77%, 61%) | |
| HEX | #4F66E8 | color: #4F66E8 | |
| RGB | rgb(79, 102, 232) | color: rgb(79, 102, 232) | |
| CMYK | cmyk(66%, 56%, 0%, 9%) | — | |
| HSV | hsv(231, 66%, 91%) | — | |
| HWB | hwb(231 31% 9%) | color: hwb(231 31% 9%) | |
| OKLCH | oklch(0.5664 0.1972 271.12) | color: oklch(0.5664 0.1972 271.12) | |
| Lab | lab(48.25 32.55 -68.51) | color: lab(48.25 32.55 -68.51) | |
| LCH | lch(48.25 75.85 295.41) | color: lch(48.25 75.85 295.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5959C9 — rgb(89, 89, 201)
Deuteranopia (Green-blind)
#5856C1 — rgb(88, 86, 193)
Tritanopia (Blue-blind)
#50B0AA — rgb(80, 176, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 77%, 61%);
text
color: hsl(231, 77%, 61%);
border
border: 2px solid hsl(231, 77%, 61%);
gradient light
background: linear-gradient(to right, hsl(231, 77%, 81%), hsl(231, 77%, 61%));
gradient dark
background: linear-gradient(to right, hsl(231, 77%, 61%), hsl(231, 77%, 41%))
hex
background-color: #4F66E8;
tailwind
bg-[hsl(231,77%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 77%, 61%, 0.4);
css variable
--color-primary: hsl(231, 77%, 61%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 77%, 61%)?
HEX: #4F66E8 | RGB: rgb(79, 102, 232) | CMYK: 66%, 56%, 0%, 9% | HSV: 231°, 66%, 91%. Copy any format from the conversion table above.
What colors go well with #4F66E8?
The complementary color is HSL(51, 77%, 61%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 77%, 61%) in CSS?
As HSL: color: hsl(231, 77%, 61%); — As HEX: color: #4F66E8; — As RGB: color: rgb(79, 102, 232); — Tailwind CSS: bg-[hsl(231,77%,61%)] — CSS variable: --color-primary: hsl(231, 77%, 61%);