HSL(201, 50%, 28%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(201,50%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(201, 50%, 28%) | color: hsl(201, 50%, 28%) | |
| HEX | #24526B | color: #24526B | |
| RGB | rgb(36, 82, 107) | color: rgb(36, 82, 107) | |
| CMYK | cmyk(66%, 23%, 0%, 58%) | — | |
| HSV | hsv(201, 66%, 42%) | — | |
| HWB | hwb(201 14% 58%) | color: hwb(201 14% 58%) | |
| OKLCH | oklch(0.418 0.0652 235.1) | color: oklch(0.418 0.0652 235.1) | |
| Lab | lab(32.85 -7.19 -19.09) | color: lab(32.85 -7.19 -19.09) | |
| LCH | lch(32.85 20.4 249.36) | color: lch(32.85 20.4 249.36) |
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)
#383865 — rgb(56, 56, 101)
Deuteranopia (Green-blind)
#353264 — rgb(53, 50, 100)
Tritanopia (Blue-blind)
#26605F — rgb(38, 96, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(201, 50%, 28%);
text
color: hsl(201, 50%, 28%);
border
border: 2px solid hsl(201, 50%, 28%);
gradient light
background: linear-gradient(to right, hsl(201, 50%, 48%), hsl(201, 50%, 28%));
gradient dark
background: linear-gradient(to right, hsl(201, 50%, 28%), hsl(201, 50%, 8%))
hex
background-color: #24526B;
tailwind
bg-[hsl(201,50%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(201, 50%, 28%, 0.4);
css variable
--color-primary: hsl(201, 50%, 28%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(201, 50%, 28%)?
HEX: #24526B | RGB: rgb(36, 82, 107) | CMYK: 66%, 23%, 0%, 58% | HSV: 201°, 66%, 42%. Copy any format from the conversion table above.
What colors go well with #24526B?
The complementary color is HSL(21, 50%, 28%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(201, 50%, 28%) in CSS?
As HSL: color: hsl(201, 50%, 28%); — As HEX: color: #24526B; — As RGB: color: rgb(36, 82, 107); — Tailwind CSS: bg-[hsl(201,50%,28%)] — CSS variable: --color-primary: hsl(201, 50%, 28%);