HSL(206, 22%, 48%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(206,22%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(206, 22%, 48%) | color: hsl(206, 22%, 48%) | |
| HEX | #5F7E95 | color: #5F7E95 | |
| RGB | rgb(95, 126, 149) | color: rgb(95, 126, 149) | |
| CMYK | cmyk(36%, 15%, 0%, 42%) | — | |
| HSV | hsv(206, 36%, 58%) | — | |
| HWB | hwb(206 37% 42%) | color: hwb(206 37% 42%) | |
| OKLCH | oklch(0.578 0.0502 240.82) | color: oklch(0.578 0.0502 240.82) | |
| Lab | lab(51.29 -5.05 -15.93) | color: lab(51.29 -5.05 -15.93) | |
| LCH | lch(51.29 16.71 252.41) | color: lch(51.29 16.71 252.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6C6D8F — rgb(108, 109, 143)
Deuteranopia (Green-blind)
#6B688E — rgb(107, 104, 142)
Tritanopia (Blue-blind)
#618B8A — rgb(97, 139, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(206, 22%, 48%);
text
color: hsl(206, 22%, 48%);
border
border: 2px solid hsl(206, 22%, 48%);
gradient light
background: linear-gradient(to right, hsl(206, 22%, 68%), hsl(206, 22%, 48%));
gradient dark
background: linear-gradient(to right, hsl(206, 22%, 48%), hsl(206, 22%, 28%))
hex
background-color: #5F7E95;
tailwind
bg-[hsl(206,22%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(206, 22%, 48%, 0.4);
css variable
--color-primary: hsl(206, 22%, 48%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(206, 22%, 48%)?
HEX: #5F7E95 | RGB: rgb(95, 126, 149) | CMYK: 36%, 15%, 0%, 42% | HSV: 206°, 36%, 58%. Copy any format from the conversion table above.
What colors go well with #5F7E95?
The complementary color is HSL(26, 22%, 48%). For a triadic harmony, use hues 206°, 326°, and 86°. For analogous combinations, try hues 176° and 236°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(206, 22%, 48%) in CSS?
As HSL: color: hsl(206, 22%, 48%); — As HEX: color: #5F7E95; — As RGB: color: rgb(95, 126, 149); — Tailwind CSS: bg-[hsl(206,22%,48%)] — CSS variable: --color-primary: hsl(206, 22%, 48%);