HSL(201, 52%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(201,52%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(201, 52%, 34%) | color: hsl(201, 52%, 34%) | |
| HEX | #2A6484 | color: #2A6484 | |
| RGB | rgb(42, 100, 132) | color: rgb(42, 100, 132) | |
| CMYK | cmyk(68%, 24%, 0%, 48%) | — | |
| HSV | hsv(201, 68%, 52%) | — | |
| HWB | hwb(201 17% 48%) | color: hwb(201 17% 48%) | |
| OKLCH | oklch(0.4794 0.0791 235.95) | color: oklch(0.4794 0.0791 235.95) | |
| Lab | lab(40.03 -8.07 -23.34) | color: lab(40.03 -8.07 -23.34) | |
| LCH | lch(40.03 24.7 250.93) | color: lch(40.03 24.7 250.93) |
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)
#43447C — rgb(67, 68, 124)
Deuteranopia (Green-blind)
#403B7A — rgb(64, 59, 122)
Tritanopia (Blue-blind)
#2D7675 — rgb(45, 118, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(201, 52%, 34%);
text
color: hsl(201, 52%, 34%);
border
border: 2px solid hsl(201, 52%, 34%);
gradient light
background: linear-gradient(to right, hsl(201, 52%, 54%), hsl(201, 52%, 34%));
gradient dark
background: linear-gradient(to right, hsl(201, 52%, 34%), hsl(201, 52%, 14%))
hex
background-color: #2A6484;
tailwind
bg-[hsl(201,52%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(201, 52%, 34%, 0.4);
css variable
--color-primary: hsl(201, 52%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(201, 52%, 34%)?
HEX: #2A6484 | RGB: rgb(42, 100, 132) | CMYK: 68%, 24%, 0%, 48% | HSV: 201°, 68%, 52%. Copy any format from the conversion table above.
What colors go well with #2A6484?
The complementary color is HSL(21, 52%, 34%). 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, 52%, 34%) in CSS?
As HSL: color: hsl(201, 52%, 34%); — As HEX: color: #2A6484; — As RGB: color: rgb(42, 100, 132); — Tailwind CSS: bg-[hsl(201,52%,34%)] — CSS variable: --color-primary: hsl(201, 52%, 34%);