HSL(212, 42%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,42%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 42%, 37%) | color: hsl(212, 42%, 37%) | |
| HEX | #375C86 | color: #375C86 | |
| RGB | rgb(55, 92, 134) | color: rgb(55, 92, 134) | |
| CMYK | cmyk(59%, 31%, 0%, 47%) | — | |
| HSV | hsv(212, 59%, 53%) | — | |
| HWB | hwb(212 22% 47%) | color: hwb(212 22% 47%) | |
| OKLCH | oklch(0.4666 0.0809 252.67) | color: oklch(0.4666 0.0809 252.67) | |
| Lab | lab(38.18 0.18 -27.41) | color: lab(38.18 0.18 -27.41) | |
| LCH | lch(38.18 27.41 270.38) | color: lch(38.18 27.41 270.38) |
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)
#47477C — rgb(71, 71, 124)
Deuteranopia (Green-blind)
#454279 — rgb(69, 66, 121)
Tritanopia (Blue-blind)
#397472 — rgb(57, 116, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 42%, 37%);
text
color: hsl(212, 42%, 37%);
border
border: 2px solid hsl(212, 42%, 37%);
gradient light
background: linear-gradient(to right, hsl(212, 42%, 57%), hsl(212, 42%, 37%));
gradient dark
background: linear-gradient(to right, hsl(212, 42%, 37%), hsl(212, 42%, 17%))
hex
background-color: #375C86;
tailwind
bg-[hsl(212,42%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 42%, 37%, 0.4);
css variable
--color-primary: hsl(212, 42%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 42%, 37%)?
HEX: #375C86 | RGB: rgb(55, 92, 134) | CMYK: 59%, 31%, 0%, 47% | HSV: 212°, 59%, 53%. Copy any format from the conversion table above.
What colors go well with #375C86?
The complementary color is HSL(32, 42%, 37%). 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, 42%, 37%) in CSS?
As HSL: color: hsl(212, 42%, 37%); — As HEX: color: #375C86; — As RGB: color: rgb(55, 92, 134); — Tailwind CSS: bg-[hsl(212,42%,37%)] — CSS variable: --color-primary: hsl(212, 42%, 37%);