HSL(211, 58%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,58%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 58%, 37%) | color: hsl(211, 58%, 37%) | |
| HEX | #285D95 | color: #285D95 | |
| RGB | rgb(40, 93, 149) | color: rgb(40, 93, 149) | |
| CMYK | cmyk(73%, 38%, 0%, 42%) | — | |
| HSV | hsv(211, 73%, 58%) | — | |
| HWB | hwb(211 16% 42%) | color: hwb(211 16% 42%) | |
| OKLCH | oklch(0.471 0.107 252.17) | color: oklch(0.471 0.107 252.17) | |
| Lab | lab(38.64 2.2 -35.81) | color: lab(38.64 2.2 -35.81) | |
| LCH | lch(38.64 35.88 273.52) | color: lch(38.64 35.88 273.52) |
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)
#3F3F87 — rgb(63, 63, 135)
Deuteranopia (Green-blind)
#3C3884 — rgb(60, 56, 132)
Tritanopia (Blue-blind)
#2B7D7A — rgb(43, 125, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 58%, 37%);
text
color: hsl(211, 58%, 37%);
border
border: 2px solid hsl(211, 58%, 37%);
gradient light
background: linear-gradient(to right, hsl(211, 58%, 57%), hsl(211, 58%, 37%));
gradient dark
background: linear-gradient(to right, hsl(211, 58%, 37%), hsl(211, 58%, 17%))
hex
background-color: #285D95;
tailwind
bg-[hsl(211,58%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 58%, 37%, 0.4);
css variable
--color-primary: hsl(211, 58%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 58%, 37%)?
HEX: #285D95 | RGB: rgb(40, 93, 149) | CMYK: 73%, 38%, 0%, 42% | HSV: 211°, 73%, 58%. Copy any format from the conversion table above.
What colors go well with #285D95?
The complementary color is HSL(31, 58%, 37%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 58%, 37%) in CSS?
As HSL: color: hsl(211, 58%, 37%); — As HEX: color: #285D95; — As RGB: color: rgb(40, 93, 149); — Tailwind CSS: bg-[hsl(211,58%,37%)] — CSS variable: --color-primary: hsl(211, 58%, 37%);