HSL(208, 70%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(208,70%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(208, 70%, 52%) | color: hsl(208, 70%, 52%) | |
| HEX | #2F8ADA | color: #2F8ADA | |
| RGB | rgb(47, 138, 218) | color: rgb(47, 138, 218) | |
| CMYK | cmyk(78%, 37%, 0%, 15%) | — | |
| HSV | hsv(208, 78%, 85%) | — | |
| HWB | hwb(208 19% 15%) | color: hwb(208 19% 15%) | |
| OKLCH | oklch(0.6193 0.1474 249.3) | color: oklch(0.6193 0.1474 249.3) | |
| Lab | lab(55.93 1.14 -48.36) | color: lab(55.93 1.14 -48.36) | |
| LCH | lch(55.93 48.37 271.35) | color: lch(55.93 48.37 271.35) |
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)
#5657C7 — rgb(86, 87, 199)
Deuteranopia (Green-blind)
#514AC2 — rgb(81, 74, 194)
Tritanopia (Blue-blind)
#34B7B4 — rgb(52, 183, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(208, 70%, 52%);
text
color: hsl(208, 70%, 52%);
border
border: 2px solid hsl(208, 70%, 52%);
gradient light
background: linear-gradient(to right, hsl(208, 70%, 72%), hsl(208, 70%, 52%));
gradient dark
background: linear-gradient(to right, hsl(208, 70%, 52%), hsl(208, 70%, 32%))
hex
background-color: #2F8ADA;
tailwind
bg-[hsl(208,70%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(208, 70%, 52%, 0.4);
css variable
--color-primary: hsl(208, 70%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(208, 70%, 52%)?
HEX: #2F8ADA | RGB: rgb(47, 138, 218) | CMYK: 78%, 37%, 0%, 15% | HSV: 208°, 78%, 85%. Copy any format from the conversion table above.
What colors go well with #2F8ADA?
The complementary color is HSL(28, 70%, 52%). For a triadic harmony, use hues 208°, 328°, and 88°. For analogous combinations, try hues 178° and 238°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(208, 70%, 52%) in CSS?
As HSL: color: hsl(208, 70%, 52%); — As HEX: color: #2F8ADA; — As RGB: color: rgb(47, 138, 218); — Tailwind CSS: bg-[hsl(208,70%,52%)] — CSS variable: --color-primary: hsl(208, 70%, 52%);