HSL(199, 40%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,40%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 40%, 47%) | color: hsl(199, 40%, 47%) | |
| HEX | #4889A8 | color: #4889A8 | |
| RGB | rgb(72, 137, 168) | color: rgb(72, 137, 168) | |
| CMYK | cmyk(57%, 18%, 0%, 34%) | — | |
| HSV | hsv(199, 57%, 66%) | — | |
| HWB | hwb(199 28% 34%) | color: hwb(199 28% 34%) | |
| OKLCH | oklch(0.5997 0.0815 230.92) | color: oklch(0.5997 0.0815 230.92) | |
| Lab | lab(54.13 -11.55 -22.71) | color: lab(54.13 -11.55 -22.71) | |
| LCH | lch(54.13 25.48 243.04) | color: lch(54.13 25.48 243.04) |
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)
#6465A0 — rgb(100, 101, 160)
Deuteranopia (Green-blind)
#605C9F — rgb(96, 92, 159)
Tritanopia (Blue-blind)
#4B9B99 — rgb(75, 155, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 40%, 47%);
text
color: hsl(199, 40%, 47%);
border
border: 2px solid hsl(199, 40%, 47%);
gradient light
background: linear-gradient(to right, hsl(199, 40%, 67%), hsl(199, 40%, 47%));
gradient dark
background: linear-gradient(to right, hsl(199, 40%, 47%), hsl(199, 40%, 27%))
hex
background-color: #4889A8;
tailwind
bg-[hsl(199,40%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 40%, 47%, 0.4);
css variable
--color-primary: hsl(199, 40%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 40%, 47%)?
HEX: #4889A8 | RGB: rgb(72, 137, 168) | CMYK: 57%, 18%, 0%, 34% | HSV: 199°, 57%, 66%. Copy any format from the conversion table above.
What colors go well with #4889A8?
The complementary color is HSL(19, 40%, 47%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(199, 40%, 47%) in CSS?
As HSL: color: hsl(199, 40%, 47%); — As HEX: color: #4889A8; — As RGB: color: rgb(72, 137, 168); — Tailwind CSS: bg-[hsl(199,40%,47%)] — CSS variable: --color-primary: hsl(199, 40%, 47%);