HSL(202, 30%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(202,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 30%, 52%) | color: hsl(202, 30%, 52%) | |
| HEX | #608EA9 | color: #608EA9 | |
| RGB | rgb(96, 142, 169) | color: rgb(96, 142, 169) | |
| CMYK | cmyk(43%, 16%, 0%, 34%) | — | |
| HSV | hsv(202, 43%, 66%) | — | |
| HWB | hwb(202 38% 34%) | color: hwb(202 38% 34%) | |
| OKLCH | oklch(0.624 0.0645 234.99) | color: oklch(0.624 0.0645 234.99) | |
| Lab | lab(56.78 -8.31 -19.12) | color: lab(56.78 -8.31 -19.12) | |
| LCH | lch(56.78 20.85 246.51) | color: lch(56.78 20.85 246.51) |
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)
#7474A2 — rgb(116, 116, 162)
Deuteranopia (Green-blind)
#716EA1 — rgb(113, 110, 161)
Tritanopia (Blue-blind)
#629D9C — rgb(98, 157, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 30%, 52%);
text
color: hsl(202, 30%, 52%);
border
border: 2px solid hsl(202, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(202, 30%, 72%), hsl(202, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(202, 30%, 52%), hsl(202, 30%, 32%))
hex
background-color: #608EA9;
tailwind
bg-[hsl(202,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 30%, 52%, 0.4);
css variable
--color-primary: hsl(202, 30%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(202, 30%, 52%)?
HEX: #608EA9 | RGB: rgb(96, 142, 169) | CMYK: 43%, 16%, 0%, 34% | HSV: 202°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #608EA9?
The complementary color is HSL(22, 30%, 52%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 30%, 52%) in CSS?
As HSL: color: hsl(202, 30%, 52%); — As HEX: color: #608EA9; — As RGB: color: rgb(96, 142, 169); — Tailwind CSS: bg-[hsl(202,30%,52%)] — CSS variable: --color-primary: hsl(202, 30%, 52%);