HSL(212, 71%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,71%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 71%, 33%) | color: hsl(212, 71%, 33%) | |
| HEX | #185090 | color: #185090 | |
| RGB | rgb(24, 80, 144) | color: rgb(24, 80, 144) | |
| CMYK | cmyk(83%, 44%, 0%, 44%) | — | |
| HSV | hsv(212, 83%, 56%) | — | |
| HWB | hwb(212 10% 44%) | color: hwb(212 10% 44%) | |
| OKLCH | oklch(0.4315 0.1201 254.7) | color: oklch(0.4315 0.1201 254.7) | |
| Lab | lab(33.87 6.69 -40.41) | color: lab(33.87 6.69 -40.41) | |
| LCH | lch(33.87 40.96 279.4) | color: lch(33.87 40.96 279.4) |
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)
#303181 — rgb(48, 49, 129)
Deuteranopia (Green-blind)
#2D297D — rgb(45, 41, 125)
Tritanopia (Blue-blind)
#1B7472 — rgb(27, 116, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 71%, 33%);
text
color: hsl(212, 71%, 33%);
border
border: 2px solid hsl(212, 71%, 33%);
gradient light
background: linear-gradient(to right, hsl(212, 71%, 53%), hsl(212, 71%, 33%));
gradient dark
background: linear-gradient(to right, hsl(212, 71%, 33%), hsl(212, 71%, 13%))
hex
background-color: #185090;
tailwind
bg-[hsl(212,71%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 71%, 33%, 0.4);
css variable
--color-primary: hsl(212, 71%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 71%, 33%)?
HEX: #185090 | RGB: rgb(24, 80, 144) | CMYK: 83%, 44%, 0%, 44% | HSV: 212°, 83%, 56%. Copy any format from the conversion table above.
What colors go well with #185090?
The complementary color is HSL(32, 71%, 33%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 71%, 33%) in CSS?
As HSL: color: hsl(212, 71%, 33%); — As HEX: color: #185090; — As RGB: color: rgb(24, 80, 144); — Tailwind CSS: bg-[hsl(212,71%,33%)] — CSS variable: --color-primary: hsl(212, 71%, 33%);