HSL(211, 63%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(211,63%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 63%, 40%) | color: hsl(211, 63%, 40%) | |
| HEX | #2664A6 | color: #2664A6 | |
| RGB | rgb(38, 100, 166) | color: rgb(38, 100, 166) | |
| CMYK | cmyk(77%, 40%, 0%, 35%) | — | |
| HSV | hsv(211, 77%, 65%) | — | |
| HWB | hwb(211 15% 35%) | color: hwb(211 15% 35%) | |
| OKLCH | oklch(0.4976 0.123 252.8) | color: oklch(0.4976 0.123 252.8) | |
| Lab | lab(41.65 3.96 -41.15) | color: lab(41.65 3.96 -41.15) | |
| LCH | lch(41.65 41.34 275.5) | color: lch(41.65 41.34 275.5) |
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)
#414196 — rgb(65, 65, 150)
Deuteranopia (Green-blind)
#3D3992 — rgb(61, 57, 146)
Tritanopia (Blue-blind)
#298987 — rgb(41, 137, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 63%, 40%);
text
color: hsl(211, 63%, 40%);
border
border: 2px solid hsl(211, 63%, 40%);
gradient light
background: linear-gradient(to right, hsl(211, 63%, 60%), hsl(211, 63%, 40%));
gradient dark
background: linear-gradient(to right, hsl(211, 63%, 40%), hsl(211, 63%, 20%))
hex
background-color: #2664A6;
tailwind
bg-[hsl(211,63%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 63%, 40%, 0.4);
css variable
--color-primary: hsl(211, 63%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 63%, 40%)?
HEX: #2664A6 | RGB: rgb(38, 100, 166) | CMYK: 77%, 40%, 0%, 35% | HSV: 211°, 77%, 65%. Copy any format from the conversion table above.
What colors go well with #2664A6?
The complementary color is HSL(31, 63%, 40%). 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, 63%, 40%) in CSS?
As HSL: color: hsl(211, 63%, 40%); — As HEX: color: #2664A6; — As RGB: color: rgb(38, 100, 166); — Tailwind CSS: bg-[hsl(211,63%,40%)] — CSS variable: --color-primary: hsl(211, 63%, 40%);