HSL(214, 48%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(214,48%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(214, 48%, 54%) | color: hsl(214, 48%, 54%) | |
| HEX | #5182C2 | color: #5182C2 | |
| RGB | rgb(81, 130, 194) | color: rgb(81, 130, 194) | |
| CMYK | cmyk(58%, 33%, 0%, 24%) | — | |
| HSV | hsv(214, 58%, 76%) | — | |
| HWB | hwb(214 32% 24%) | color: hwb(214 32% 24%) | |
| OKLCH | oklch(0.6005 0.1119 255.64) | color: oklch(0.6005 0.1119 255.64) | |
| Lab | lab(53.61 2.76 -38.38) | color: lab(53.61 2.76 -38.38) | |
| LCH | lch(53.61 38.48 274.11) | color: lch(53.61 38.48 274.11) |
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)
#6667B3 — rgb(102, 103, 179)
Deuteranopia (Green-blind)
#6360AF — rgb(99, 96, 175)
Tritanopia (Blue-blind)
#53A6A4 — rgb(83, 166, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(214, 48%, 54%);
text
color: hsl(214, 48%, 54%);
border
border: 2px solid hsl(214, 48%, 54%);
gradient light
background: linear-gradient(to right, hsl(214, 48%, 74%), hsl(214, 48%, 54%));
gradient dark
background: linear-gradient(to right, hsl(214, 48%, 54%), hsl(214, 48%, 34%))
hex
background-color: #5182C2;
tailwind
bg-[hsl(214,48%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(214, 48%, 54%, 0.4);
css variable
--color-primary: hsl(214, 48%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(214, 48%, 54%)?
HEX: #5182C2 | RGB: rgb(81, 130, 194) | CMYK: 58%, 33%, 0%, 24% | HSV: 214°, 58%, 76%. Copy any format from the conversion table above.
What colors go well with #5182C2?
The complementary color is HSL(34, 48%, 54%). For a triadic harmony, use hues 214°, 334°, and 94°. For analogous combinations, try hues 184° and 244°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(214, 48%, 54%) in CSS?
As HSL: color: hsl(214, 48%, 54%); — As HEX: color: #5182C2; — As RGB: color: rgb(81, 130, 194); — Tailwind CSS: bg-[hsl(214,48%,54%)] — CSS variable: --color-primary: hsl(214, 48%, 54%);