HSL(228, 16%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(228,16%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 16%, 35%) | color: hsl(228, 16%, 35%) | |
| HEX | #4B5168 | color: #4B5168 | |
| RGB | rgb(75, 81, 104) | color: rgb(75, 81, 104) | |
| CMYK | cmyk(28%, 22%, 0%, 59%) | — | |
| HSV | hsv(228, 28%, 41%) | — | |
| HWB | hwb(228 30% 59%) | color: hwb(228 30% 59%) | |
| OKLCH | oklch(0.4388 0.0387 273.32) | color: oklch(0.4388 0.0387 273.32) | |
| Lab | lab(34.76 3.4 -14.07) | color: lab(34.76 3.4 -14.07) | |
| LCH | lch(34.76 14.47 283.59) | color: lch(34.76 14.47 283.59) |
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)
#4E4E62 — rgb(78, 78, 98)
Deuteranopia (Green-blind)
#4D4D61 — rgb(77, 77, 97)
Tritanopia (Blue-blind)
#4B5E5D — rgb(75, 94, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 16%, 35%);
text
color: hsl(228, 16%, 35%);
border
border: 2px solid hsl(228, 16%, 35%);
gradient light
background: linear-gradient(to right, hsl(228, 16%, 55%), hsl(228, 16%, 35%));
gradient dark
background: linear-gradient(to right, hsl(228, 16%, 35%), hsl(228, 16%, 15%))
hex
background-color: #4B5168;
tailwind
bg-[hsl(228,16%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 16%, 35%, 0.4);
css variable
--color-primary: hsl(228, 16%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 16%, 35%)?
HEX: #4B5168 | RGB: rgb(75, 81, 104) | CMYK: 28%, 22%, 0%, 59% | HSV: 228°, 28%, 41%. Copy any format from the conversion table above.
What colors go well with #4B5168?
The complementary color is HSL(48, 16%, 35%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 16%, 35%) in CSS?
As HSL: color: hsl(228, 16%, 35%); — As HEX: color: #4B5168; — As RGB: color: rgb(75, 81, 104); — Tailwind CSS: bg-[hsl(228,16%,35%)] — CSS variable: --color-primary: hsl(228, 16%, 35%);