HSL(211, 52%, 26%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,52%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 52%, 26%) | color: hsl(211, 52%, 26%) | |
| HEX | #204165 | color: #204165 | |
| RGB | rgb(32, 65, 101) | color: rgb(32, 65, 101) | |
| CMYK | cmyk(68%, 36%, 0%, 60%) | — | |
| HSV | hsv(211, 68%, 40%) | — | |
| HWB | hwb(211 13% 60%) | color: hwb(211 13% 60%) | |
| OKLCH | oklch(0.3688 0.0735 252.22) | color: oklch(0.3688 0.0735 252.22) | |
| Lab | lab(26.81 0.72 -24.73) | color: lab(26.81 0.72 -24.73) | |
| LCH | lch(26.81 24.74 271.67) | color: lch(26.81 24.74 271.67) |
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)
#2E2F5C — rgb(46, 47, 92)
Deuteranopia (Green-blind)
#2C2A5A — rgb(44, 42, 90)
Tritanopia (Blue-blind)
#225554 — rgb(34, 85, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 52%, 26%);
text
color: hsl(211, 52%, 26%);
border
border: 2px solid hsl(211, 52%, 26%);
gradient light
background: linear-gradient(to right, hsl(211, 52%, 46%), hsl(211, 52%, 26%));
gradient dark
background: linear-gradient(to right, hsl(211, 52%, 26%), hsl(211, 52%, 6%))
hex
background-color: #204165;
tailwind
bg-[hsl(211,52%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 52%, 26%, 0.4);
css variable
--color-primary: hsl(211, 52%, 26%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 52%, 26%)?
HEX: #204165 | RGB: rgb(32, 65, 101) | CMYK: 68%, 36%, 0%, 60% | HSV: 211°, 68%, 40%. Copy any format from the conversion table above.
What colors go well with #204165?
The complementary color is HSL(31, 52%, 26%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 52%, 26%) in CSS?
As HSL: color: hsl(211, 52%, 26%); — As HEX: color: #204165; — As RGB: color: rgb(32, 65, 101); — Tailwind CSS: bg-[hsl(211,52%,26%)] — CSS variable: --color-primary: hsl(211, 52%, 26%);