HSL(250, 21%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(250,21%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(250, 21%, 37%) | color: hsl(250, 21%, 37%) | |
| HEX | #514B72 | color: #514B72 | |
| RGB | rgb(81, 75, 114) | color: rgb(81, 75, 114) | |
| CMYK | cmyk(29%, 34%, 0%, 55%) | — | |
| HSV | hsv(249, 34%, 45%) | — | |
| HWB | hwb(249 30% 55%) | color: hwb(249 30% 55%) | |
| OKLCH | oklch(0.4355 0.0638 290.55) | color: oklch(0.4355 0.0638 290.55) | |
| Lab | lab(33.98 12.03 -21.51) | color: lab(33.98 12.03 -21.51) | |
| LCH | lch(33.98 24.65 299.22) | color: lch(33.98 24.65 299.22) |
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)
#4E4E69 — rgb(78, 78, 105)
Deuteranopia (Green-blind)
#4F4F66 — rgb(79, 79, 102)
Tritanopia (Blue-blind)
#51615F — rgb(81, 97, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(250, 21%, 37%);
text
color: hsl(250, 21%, 37%);
border
border: 2px solid hsl(250, 21%, 37%);
gradient light
background: linear-gradient(to right, hsl(250, 21%, 57%), hsl(250, 21%, 37%));
gradient dark
background: linear-gradient(to right, hsl(250, 21%, 37%), hsl(250, 21%, 17%))
hex
background-color: #514B72;
tailwind
bg-[hsl(250,21%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(250, 21%, 37%, 0.4);
css variable
--color-primary: hsl(250, 21%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(250, 21%, 37%)?
HEX: #514B72 | RGB: rgb(81, 75, 114) | CMYK: 29%, 34%, 0%, 55% | HSV: 249°, 34%, 45%. Copy any format from the conversion table above.
What colors go well with #514B72?
The complementary color is HSL(70, 21%, 37%). For a triadic harmony, use hues 250°, 10°, and 130°. For analogous combinations, try hues 220° and 280°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(250, 21%, 37%) in CSS?
As HSL: color: hsl(250, 21%, 37%); — As HEX: color: #514B72; — As RGB: color: rgb(81, 75, 114); — Tailwind CSS: bg-[hsl(250,21%,37%)] — CSS variable: --color-primary: hsl(250, 21%, 37%);