HSL(251, 41%, 56%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(251,41%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 41%, 56%) | color: hsl(251, 41%, 56%) | |
| HEX | #7261BD | color: #7261BD | |
| RGB | rgb(114, 97, 189) | color: rgb(114, 97, 189) | |
| CMYK | cmyk(40%, 49%, 0%, 26%) | — | |
| HSV | hsv(251, 49%, 74%) | — | |
| HWB | hwb(251 38% 26%) | color: hwb(251 38% 26%) | |
| OKLCH | oklch(0.5523 0.139 289.55) | color: oklch(0.5523 0.139 289.55) | |
| Lab | lab(46.71 29.04 -46.29) | color: lab(46.71 29.04 -46.29) | |
| LCH | lch(46.71 54.65 302.1) | color: lch(46.71 54.65 302.1) |
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)
#6B6AA7 — rgb(107, 106, 167)
Deuteranopia (Green-blind)
#6C6DA1 — rgb(108, 109, 161)
Tritanopia (Blue-blind)
#719591 — rgb(113, 149, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 41%, 56%);
text
color: hsl(251, 41%, 56%);
border
border: 2px solid hsl(251, 41%, 56%);
gradient light
background: linear-gradient(to right, hsl(251, 41%, 76%), hsl(251, 41%, 56%));
gradient dark
background: linear-gradient(to right, hsl(251, 41%, 56%), hsl(251, 41%, 36%))
hex
background-color: #7261BD;
tailwind
bg-[hsl(251,41%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 41%, 56%, 0.4);
css variable
--color-primary: hsl(251, 41%, 56%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 41%, 56%)?
HEX: #7261BD | RGB: rgb(114, 97, 189) | CMYK: 40%, 49%, 0%, 26% | HSV: 251°, 49%, 74%. Copy any format from the conversion table above.
What colors go well with #7261BD?
The complementary color is HSL(71, 41%, 56%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 41%, 56%) in CSS?
As HSL: color: hsl(251, 41%, 56%); — As HEX: color: #7261BD; — As RGB: color: rgb(114, 97, 189); — Tailwind CSS: bg-[hsl(251,41%,56%)] — CSS variable: --color-primary: hsl(251, 41%, 56%);